Ok, I understand more about the problem now. I briefly looked at the code and I realize that it's not a trivial task to implement what you explain. So from my point of view, #2199 is far less serious than #2243 and I suggest that the lines of code fixing #2199 can be commented out. Who can make such a decision?
/Andreas > > > Does anyone know about the progress of STR #2243? You have to=20 > > press Alt to reach shortcuts for submenus and buttons, this=20 > > should only be necessary for the main menu. This stops us=20 > > from using the latest FLTK 1.3 revision and is essentially a=20 > > 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)=3D=3D0) return 0; > #endif > > Which correct #2199.=20 > > 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=20 > > 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, > --=20 > Ian > > > > SELEX Galileo Ltd > Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS= > 14 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
