Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.2, 5.9.0, 5.9.1, 5.10.0 Alpha
-
Mac OS X 10.11.6
-
-
385589ef458715fcaa533bbd01ca421dc1040eba
Description
When you have a QMenuBar without a parent the submenu shortcuts don't work unless if you open the menu that contains the submenu which has some items with shortcuts.
When the QMenuBar has a parent the shortcuts seem to work as long as the parent is not hidden, if the menu that contains the submenu which has some items with shortcuts is opened by the user then the shortcuts work even when the QMenuBars parent widget is hidden.
Steps to reproduce the issue:
1. Run attached test application from QTBUG-57076.tar.gz
2. Press CMD+ALT+O
3. Press CMD+ALT+L
Expected outcome:
Both shortcuts work
Actual outcome:
Only the shortcut on the first menu level works (CMD+ALT+O)
(Issue not reproducible with example app from main.cpp. Left there for archival only.)