-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
4.5.3
-
None
Our main (application) menu has various submenus that should dynamically enable and disable, based on various states/conditions. This worked fine with 452/Carbon, 452/Cocoa and with 453/Carbon. However, with 453/Cocoa (only) those submenus incorrectly remain disabled at all times, and cannot be re-enabled.
I think this should reproduce it (haven't had a chance to try yet - sorry):
Create an application with a main menu bar, a submenu (e.g. File) and add a further submenu below that, e.g. 'File | Load recent'. Add a dummy action to that lowest level of submenu. After constructing the menus, call QMenu::setEnable(false) for the 'File | Load recent' sub-menu.
Add a button that calls QMenu::setEnable(true) for the 'File | Load recent' sub-menu. Click it. The sub-menu should re-enable, but it won't.
Thanks and best regards,
Martin Dyde,
Milan Digital Audio LLC.
http://www.hauptwerk.com/
http://www.milandigitalaudio.com/