Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.2.1, 5.3.1
-
None
-
Windows
-
cca4eb45c5e1a70d2c39cad2d77abf0b986bc087 (qtbase/5.4, 4.11.2014, 5.4)
Description
Shift+F10 is the default shortcut for opening the context menu on windows. This used to work in Qt 4.8.5 but is broken in Qt 5.2.1-5.3.1 (and possibly earlier Qt5 versions, which I did not test).
Steps to reproduce using Windows 7 and the test application in the attachment (it's just a QTextEdit in a default-generated Qt-Widget application):
1) Qt 4.8.5
1 a) Compile with Qt 4.8.5
1 b) Place the cursor in the text edit and press Shift+F10.
Result: The context menu appears (as expected).
2) Qt 5.3.1
2 a) Compile with Qt 5.3.1
2 b) Place the cursor in the text edit and press Shift+F10.
Result: Nothing happens.
Expected: The context menu should appear.
Attachments
Issue Links
- depends on
-
QTBUG-38986 The eventFilter function gets QKeyEvent twice for a single keypress with ShortcutOverride event.
- Closed
- relates to
-
QTBUG-27648 Regression: Context Menu key does not send a QContexMenuEvent
- Closed
-
QTBUG-95342 Shift+F10 not working on Linux
- Closed