Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Menus&Toolbars » [Bug] Check box + sub-menu = problem
Re: [Bug] Check box + sub-menu = problem [message #40242 is a reply to message #40204] Tue, 09 July 2013 20:46 Go to previous message
Novo is currently offline  Novo
Messages: 896
Registered: December 2006
Experienced 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
 
Read Message
Read Message
Previous Topic: [Minor bug & fix] Wrong color of MenuBar item when mouse cursor is on it (Gtk backend)
Next Topic: [Minor fix - Linux] Insufficient value for the variable leftgap in MenuBar CH_STYLE.
Goto Forum:
  


Current Time: Tue Jan 28 03:01:17 CET 2020

Total time taken to generate the page: 0.03363 seconds