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


For the record: "Albrecht's patch" is in fact Andreas's (andek's) patch -
only _posted_ by me.

I still didn't completely analyze the patch (look for regressions or
something else?), but I believe that this patch or something very similar
should be implemented.

I know that we had an app. that relied on shortcuts w/o ALT (or SHIFT)
being pressed. Users are often asking for such features. Although I can
see the danger Greg described about accidentally triggering callbacks, I
think that triggering button callbacks by pressing keys w/o any modifiers
may be useful. Of course, the app should be designed to do it the right
way.

OTOH, I do also agree that the menubar shortcuts should only be fired by
also pressing ALT (as it is usually done in most/all software I know).
This applies only to the first level of a menu, though - further actions
should be usable w/o holding ALT.

This all seems to be what the current patch does. It may, however, revert
(parts of) a change done in STR #2199 which I personally consider ...
suboptimal ;-). Even Matt was not sure about it: "I changed the behavior
for Windows. We will see if there are any reactions by the users."
Unfortunately it took very long for reactions, so that we released FLTK
1.1.10 with this state.

That said, I'd also vote for removing the WIN32 conditional code to make
it the same on all platforms - since there are examples for similar
behavior on different platforms, as Greg mentioned above.


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