DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

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


Using the attached foo.cxx program which sets the shortcuts with:

    menu->add("Testing/Ctrl-Shift-F", "+^f", Callback);
    menu->add("Testing/Ctrl-F",       "^f",  Callback);
        
..I can confirm the following behavior on Ubuntu7 + FLTK1.3.x current:

    o Ctrl-Shift-F -- shortcut only works when capslock ON, not OFF
    o Ctrl-F       -- shortcut only works when capslock OFF, not ON

..in other words, completely opposite behaviors.

Note: if I make the 'f' in the shortcut setup to uppercase, eg:

    menu->add("Testing/Ctrl-Shift-F", "+^F", Callback);
    menu->add("Testing/Ctrl-F",       "^F",  Callback);

..when the CTRL_SHIFT-F works OK regardless of the state of capslock,
and Ctrl-F does NOT WORK AT ALL, regardless of the state of capslock.

I'd think the case of the 'F' used in setup shouldn't matter; the only
thing that should affect case is if the Shift flag were specified or not.


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

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

Reply via email to