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


I tried applying the attached V1 patch to SVN 7711 and rebuilt FLTK on
linux and win32. Some comments:

1) Menubar's *menu* shortcuts seem to work more consistently now;
   (Alt-F - Alt-Q) will quit the application, and so will
   (Alt-F - q)
   ..which is definitely an improvement; great! 
   Seems to solve *this* STR.

2) Related STR#2199 seems broken again (or maybe always has been?)

   If I understand that STR correctly, under windows ALT is needed
   to trigger button shortcuts.

   However, in both 'menubar' and 'button' test programs,
   both of those app's buttons can still be triggered with
   regular letter keys under Windows:

      * 'menubar.exe': just hitting 'm' triggers the 'menubutton'
        if it has focus. 

      * in 'button.exe', hitting any of these triggers the button
        shortcuts:

           'b', SHIFT-b, ALT-b,
           'n', SHIFT-n, ALT-n,
           'x', SHIFT-x, ALT-x

   I think STR#2199 was supposed to limit button shortcuts
   to be triggered *only* if ALT is included in the sequence.

3) Just something I noticed; the #ifdef/#endif in the test_shortcut()
   function of fl_shortcut.cxx are indented instead of flush-left.
   Not sure why it builds without errors, but I think '#' macro
   definitions must be flush left to work correctly.


Regarding #2, should we make sure any fix we come up with here
solves both STR's if possible..?


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

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

Reply via email to