Qt World Summit: Register Today!


Ctrl+Wheel not working in QTextEdit and QPlainTextEdit



  • In the "Editing Key Bindings" section of QPlainTextEdit documentation there's the following line:
    Ctrl+Wheel Zooms the text.

    However, in my application it just won't work. Instead, it scrolls the text as if no Ctrl key were pressed. What am I doing wrong? I'm developing under 64-bit Ubuntu, writing a simple HTML editor.

    I've spend some time searching, but found no answer.



  • Hi, is there still no answer to this question?

    I started using PyQt with Qt5 in the meanwhile and I still have this problem with QPlainTextEdit.



  • Doesn't seem to be working for QTextEdit. Qt 5.0.2.
    Alt+Wheel doesn't function as well.



  • So did you "write a bug report":https://bugreports.qt-project.org/ ?

    I know it is annoying to duplicate information into the bug tracker, but that is the place where people look for things to fix:-)



  • [quote author="Tobias Hunger" date="1366709376"]So did you "write a bug report":https://bugreports.qt-project.org/ ?

    I know it is annoying to duplicate information into the bug tracker, but that is the place where people look for things to fix:-)[/quote]

    Yeah I actually did, https://bugreports.qt-project.org/browse/QTBUG-30784
    Though I've mentioned the wrong control and so it is closed now. Maybe someone will reopen it, I don't know.



  • Great!

    AFAIK you should be able to reopen it if you reported the issue. If that does not work you can always open a new report with a better description:) You will get developer attention here by chance only... a bug report will definitely get noticed by the people that actually can fix the issue, so please always file bug reports.


Log in to reply