STR #1505

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 1.1 ]

STR #1505

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:2 - Specific to an operating system
Subsystem:MacOS
Summary:Fl_Sys_Menu_Bar: issues with hidden and inactive entries on OSX
Version:1.1-current
Created By:ianmacarthur
Assigned To:matt
Fix Version:1.1-current (SVN: v5617)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size top right image
 
#1 ianmacarthur
10:43 Nov 21, 2006
sys_menubar.cxx
7k
 
 
#2 ianmacarthur
10:43 Nov 21, 2006
menu_bar_grab.png
63k
 
bottom left image   bottom right image

Trouble Report Comments:


Name/Time/Date Text top right image
 
#1 ianmacarthur
10:43 Nov 21, 2006
If you create an app that uses Fl_Sys_Menu_Bar, but which has inactive or hidden items in it, then when displayed on OSX (where it does actually appear in the Apple menu_bar...) the hidden items are not hidden, and the inactive items are not inactive.

Probably not fixable, given the constraints of making it work with the Apple menu bar, but thought I'd log the issue anyway.

Attached is a tweaked version of the standard menubar demo program that illustrates the problem, and a screenshot showing the sys_menubar in action alongside a "conventional" menubar for comparison.

Also noted in this demo is that the check-box menu button in the menubar does not function at all in sys_menubar - but I had never noticed that before since I've never put buttons on the menu bar anyway!

Cheers,
--
Ian
 
 
#2 matt
11:21 Jan 18, 2007
I did fix the top-level invisible menu items. I was not able to fix the disbaled items to gray out, but at least all children of that menu become disabled. I wonder if that is possible at all. Anyway, I did what I could to improve the hack.  
bottom left image   bottom right image

Return to Bugs & Features ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2022 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.