Home » U++ Library support » Menus&Toolbars » [Bug] Check box + sub-menu = problem
[Bug] Check box + sub-menu = problem [message #40204] |
Wed, 03 July 2013 06:03 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
How to reproduce:
1) run reference/DockingExample1
2) Auto-hide any of docking controls by either using docking bar menu or by using auto-hide button.
3) Try to disable auto-hiding by using docking bar menu (try to uncheck checking box in menu item).
The same problem can be reproduced by trying to undock docked window using docking bar menu.
Check box doesn't work if there is a sub-menu.
Or it is supposed to be this way and I'm missing something.
Regards,
Novo
|
|
|
Re: [Bug] Check box + sub-menu = problem [message #40242 is a reply to message #40204] |
Tue, 09 July 2013 20:46 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
A small test case is attached.
Actually, the problem is that you can have both a submenu and a checkbox, but you cannot control checkbox in this case because there is only one callback, and it can be called even if you do not click on menu (just hold your mouse pointer over this menu item, click somewhere outside of menu, and open "File" menu again).
IMHO, because there is no way to control state of checkbox in this case, it should be displayed as disabled.
Just my 2 cents.
Regards,
Novo
|
|
|
Goto Forum:
Current Time: Sun Nov 10 20:23:02 CET 2024
Total time taken to generate the page: 0.01157 seconds
|