Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt Ctrl++ (Control Plus Plus) Shortcut Not Working in Qt 5.5
markanth2 last edited by
I've noticed in Qt 5.5.0 and in Qt Creator 3.4.2 (built on Qt 5.5.0), that Actions attempting to use Ctrl++ are not working. Note that the shortcut works correctly in older versions (for example, Qt Creator 2.7.0 built on Qt 5.0.2).
For example, if I try to increase the font size in QtCreator using Ctrl++, nothing happens. The same is true for the ImageViewer example. (Ctrl++ in the ImageViewer increases the image size, but in 5.5.0, it does not work.)
If I bind increasing the font size to another shortcut in QtCreator (via Tools->Options->Environment->Keyboard), such as Ctrl+Z, it works fine.
I did a little debug by overriding keyPressEvent, and it appears that Ctrl++ is being sucked up earlier in the dispatch, but I am having trouble figuring out exactly where.
My questions are:
- Is this a bug?
- If not, does anyone have any advice on how to see how the key is being dispatched?
Hi and welcome to devnet,
Does your CTRL++ involve the shift modifier ?
If so, IIRC, there's a bug that's been fixed for Qt 5.5.1
markanth2 last edited by SGaist
Yes, you are correct. There is more information here for anyone else interested: