Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.7.2, 6.8.0
-
None
Description
After calling "submenu->setEnabled(false)" the menu still looks enabled on macOS.
I find QTBUG-56276 and QTBUG-60708 which indicate that that is intended behavior in Qt/macOS.
I can sort of understand if Qt keeps menus visually enabled if they contain visible items. (Even though I feel that Qt sometimes tries too hard to force its users to platform-conformant behavior.)
But if the menu doesn't contain visible items this just looks wrong.
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-31793 View -> views has no menu item
- Closed
- relates to
-
QTBUG-56276 [REG 5.6.0->5.6.1] macOS: QMenu::setEnabled(false) has no effect to action associated with this menu
- Closed
-
QTBUG-60708 [REG 5.5.1->5.6.2] macOS: Submenus cannot be disabled
- Closed
- resulted from
-
QTCREATORBUG-31508 'Recent Projects' menu item is available even if items are cleared
- Closed