FLTK logo

Re: [HIGH] STR #2243: Fl_Menu_Bar on windows: single letter shortcut keys not working

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.bugs  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [HIGH] STR #2243: Fl_Menu_Bar on windows: single letter shortcut keys not working Andreas Ekstrand Sep 16, 2010  
 
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2243
Version: 1.3-current


Sorry for my complicated report, I'm not used to patch files yet, but I
will learn, I promise. :-)

I also noticed that the menubar example contains a lot of duplicate
shortcuts. Some ideas of the things you found:

> Alt+R triggers Edit/Redo (instead of &Radio?) - why?
The Redo menu item actually has an explicit Alt+R shortcut which probably
overrides, an obvious mistake in the menubar example design I think.

> Alt+M opens the menubutton menu (and not the E&mpty menu) - why?
The menubutton which also has 'm' as shortcut overrides, but maybe we
should forbid the use of Alt here instead? Like the opposite of a top
level menu bar? I'm not sure what's expected here.

> Alt+C triggers &Edit/Copy (Alt+C) (instead of &Checkbox?) - why?
Same as with Edit/Redo above, the Alt+C explicit shortcut overrides,
another obvious mistake in the menubar design I think.

Seems to me that menubutton vs. E&mpty is the only uncertainty left?
Perhaps giving Fl_Menu_Bars higher priority somehow could be a general
solution? Or shouldn't Alt be allowed for menubutton?

/Andreas


Link: http://www.fltk.org/str.php?L2243
Version: 1.3-current
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'.