FLTK logo

Re: [fltk.coredev] Fl_Menu_ and Fl_Menu_Item::pulldown incremental overhaul?

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 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Fl_Menu_ and Fl_Menu_Item::pulldown incremental overhaul? Albrecht Schlosser Nov 20, 2022  
 
On 11/20/22 16:07 Albrecht Schlosser wrote:
After all I believe that a full rewrite from scratch ... would be as easy as it could be ...

One more thought: the new menu system would give us the chance to redesign the menu display strategy, similar to what current browsers seem to do, maybe related to necessary Wayland changes since Wayland has limited user control about popup (menu) windows.

It looks like recent Firefox opens one "main" menu window and displays submenus by "shifting" the main menu out of the menu window, making room for the submenu - rather than opening a second (and third and fourth ...) window. Example: click the "hamburger menu", then on "Help" or "More tools". This is true even for the X11 version of Firefox [1].

I'm not sure if this is the *best* way to deal with (user) menus but there's at least a chance for a menu redesign that is more Wayland compatible than our current menu system. Particularly very long menus are problematic and could be improved by a new menu system.


[1] FYI: You can start a new instance of firefox as a Wayland process if you set an environment variable and use another profile than already running firefox processes, for instance:

$ MOZ_ENABLE_WAYLAND=1 firefox -P

Commandline switch -P runs the firefox profile manager so you can either use an existing profile or create a new one if necessary.

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/e4cb0ffc-06d0-e826-358f-65291716513a%40online.de.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

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