Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.4.3
-
None
-
10.14
Description
When an application has a global QMenuBar plus QMainWindow with its own menu bar, Qt will incorrectly swap to the global menu when a focusable widget is placed in a menu of the QMainWindow menu bar and focused.
Reproduction:
1. Run attached test case
2. Open “MainWindow menu” menu
3. Focus the QLineEdit
Expected: QLineEdit is focused, no other change
Actual: The active QMenuBar is changed to the global one, which breaks the menu bar
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-114382 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
484752,3 | Ensure correct QMenuBar is active when using QWidgetAction on macOS | dev | qt/qtbase | Status: NEW | 0 | 0 |