Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.6.1, 5.7.0
-
osx 10.11
-
-
9b491616f8353be243c5e5e98c864d09a25b99ea
Description
If setEnabled(false) is called on sub menu it has no effect, item remain clickable. if it is called on any other individual menu item it works.
It can be easily reproduced with menu example by adding one line
formatMenu = editMenu->addMenu(tr("&Format"));
formatMenu->setEnabled(false);
Attached two screenshots shows 5.6.1 not working but earlier 5.6.0 working.
Bisecting pointed to this commit which seems introduced this
https://codereview.qt-project.org/#/c/149727/
Attachments
Issue Links
- relates to
-
QTBUG-54698 [REG 5.6.0->5.6.1] To disable the menu bar doesn't work anymore
-
- Closed
-
For Gerrit Dashboard: QTBUG-55121 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
165380,8 | Cocoa QPA Menus: Propagate enabled state downwards | 5.6 | qt/qtbase | Status: MERGED | -2 | 0 |
167659,5 | Cocoa Menus: Introducing Menurama manual test | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |