Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.0.0 Beta 1
-
Linux xcb
Windows (Fixed)
mac?
-
9fc7fcb4c90f9fdc5bb3581609a1d5b01cfb7076 (Windows) 87f16671c3848ffa2d505aaade1b1172176d59fa (Linux)
Description
Reproducible with the following minimal code:
#include <QApplication> #include <QLineEdit> int main(int argc, char *argv[]) { QApplication a(argc, argv); QLineEdit edit; edit.show(); return a.exec(); }
With Qt 4.8, pressing the Context Menu key, results in a context menu.
With Qt 5, no context menu is shown.
Apparently the code in qkeymapper_x11.cpp in qt 4.8 translates the key to a QContextMenuEvent. That code seems to be missing in qt5.
Windows: Shift-F10
Attachments
Issue Links
- relates to
-
QTBUG-39254 QWindow receive no QContextMenuEvent
-
- Closed
-
-
QTBUG-40085 [REG 4->5] Opening context menu via Shift+F10 does not work on windows
-
- Closed
-
-
QTBUG-95342 Shift+F10 not working on Linux
-
- Closed
-
For Gerrit Dashboard: QTBUG-27648 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
37897,2 | Add ContextMenu event to QWindowSystemInterface | master | qt/qtbase | Status: MERGED | +2 | 0 |
38702,2 | Send QContexMenuEvent when Context Menu key is pressed. | master | qt/qtbase | Status: MERGED | +2 | 0 |
39737,1 | Send QContexMenuEvent when Context Menu key is pressed. | winrt | qt/qtbase | Status: ABANDONED | 0 | 0 |