> Does anyone know about the progress of STR #2243? You have to 
> press Alt to reach shortcuts for submenus and buttons, this 
> should only be necessary for the main menu. This stops us 
> from using the latest FLTK 1.3 revision and is essentially a 
> show-stopper for us right now.

This is, as Greg identified, an interaction between the fox for #2199
and #2243.

In particular, these lines at line 225 of fl_shortcut.cxx:

  #ifdef WIN32
  // on MSWindows, users expect shortcuts to work only when the Alt
modifier is pressed
  if (Fl::event_state(FL_ALT)==0) return 0;
  #endif

Which correct #2199. 

Reverting or commenting out these lines fixes #2243, but then
re-introduces #2199...

What is required is an extension to these lines (identified above) that
somehow says;

"If this is the first shortcut the triggers a menu (or any other) item,
then *require* the ALT key, but if the menu is exposed, allow shortcuts
to trigger subsequent *menu* items whether the ALT modifier is present
or not..."


> Matt seems to be the original writer of the code causing 
> this, has he left the project?

No. He's just busy, same as the rest of us, really.

> Can anyone else step in to fix this?

Sure - indeed patches are welcome. Given the notes above and the stuff
that's in STR 2243 and 2199, you now know as much about this bug as
anybody else, so if you have a fix...

For your use-case, simply commenting out the lines might work - how do
you feel about #2199?

Cheers,
-- 
Ian



SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to