This has come up in another message a couple of days ago,
and in a bug that was long outstanding.
The bug (#693156) says :
> If Num Lock, Caps Lock, or Scroll lock is active,
> keyboard accelerators for the menu are not triggered.
When I wrote :
> This is the same behaviour as with OpenMotif.
Joe English answered :
> However, "real" Motif -- at least on IRIX, AIX, and other
> systems -- does not have this problem. (Neither do Gtk+,
> Qt, or Tk for that matter.)
The other interaction, on the mailing list, was :
> > We've discovered a problem with accelerator keys in Lesstif...
> >
> > If you have an accelerator "Ctrl<Key>c" it fails to detect the
> > ctrl-c if either the Caps Lock or NumLock keys are on.
>
> I have had the same problem with OSF Motif, both 1.2 on SGI/Irix, 2.1
> on same, and 2.1 (openmotif) on Linux. So I would say this is not a
> bug but a feature, and should be left as-is to enhance compatibility.
>
> As an application look-and-feel issue, the users of my app decided
> that numlock and caplock should not affect CTRL accelerators; this is
> implemented automatically by scanning the widget tree and replacing,
> e.g., "Alt<Key>P" by
>
> "Alt<Key>P,Lock Alt<Key>P,Mod3 Alt<Key>P,Lock Mod3 Alt<Key>P"
I have two questions on this :
1. One post says IRIX deals with this, the other appears to deny that.
Which one is true ? And does AIX deal with it?
2. How do these systems deal with it. Do they translate a call by the
application to register Alt<Key>P into the string as described by
Michel above ?
Thanks for any input,
Danny
--
Danny Backx - danny.backx-at-planetinternet.be http://up.to/danny.backx
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Lesstif-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lesstif-discuss