FLTK logo

Re: [fltk/fltk] Fl_Sys_Menu_Bar menu item shortcuts using Escape or Tab do not work properly on Mac (Issue #469)

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

Re: [fltk/fltk] Fl_Sys_Menu_Bar menu item shortcuts using Escape or Tab do not work properly on Mac (Issue #469) Daniel Harding Jul 26, 2022  
 

I don't see how you can use either escape or tab as menu shortcuts under Linux or any other FLTK platform.

Hi, thanks for the reply. I'm not sure exactly what you mean by this. I had no speedbumps/roadblocks at all getting Escape or Tab to work under Linux or Windows.
The only uncooperative combination is Mac using Fl_Sys_Menu_Bar with Shift+Tab (Escape and Tab work fine, and all shortcuts work fine using Fl_Menu_Bar instead of Fl_Sys_Menu_Bar).

The FLTK source code processes tab as a command to move to the next menu item, shift-tab to the previous one, and escape to close the menu.

In my testing, this is only the case while the menu is open. With the menu closed, menu item shortcuts involving Escape or Tab work as expected, which luckily is the desired behavior for me.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/469/1195589549@github.com>

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'.