Re: [LessTif 94.0] Accelerator problems

Danny Backx <[email protected]>
Newsgroups gmane.comp.graphics.lesstif,gmane.editors.nedit.user
Organization Familie Backx
Message-ID <1108307573.3489.9.camel@dell>
There was a debate on the LessTif mailing list a while ago,
in which it was argued that NumLock and/or CapsLock shouldn't
disturb the accelerators. (Traditionally in X, they do, in
W*ndows platforms, they don't).

On september 28, 2004, I added a "fix" for that. It's in Manager.c,
the CVS diff can be viewed here :
http://cvs.sourceforge.net/viewcvs.py/lesstif/lesstif/lib/Xm-2.1/Manager.c?r1=1.3&r2=1.2

The first release in which this appeared is LessTif 0.94.0. This is
indicated in the release notes as "Controversial hack to accept
accelerators even if NumLock and/or CapsLock is on.".

Could this be the cause of your problem ?

If not, could someone send me the details on how to reproduce ? The
original post on the mailing list was too complicated for me. (I use
nedit but not these features.)

	Danny

On Mon, 2005-02-07 at 16:01 +0100, Thorsten Haude wrote:
> Hi,
> 
> * Scott Tringali wrote (2005-02-07 15:49):
> >This may be a bug in our code - you have to mask off the modifiers you 
> >don't want.  (Ctrl+B actually means "any modifier, but you have to have 
> >ctrl" instead of "only ctrl").
> 
> I don't see this problem with Lesstif 1.2/0.93.94. I'm also making
> moderate use of modified hotkeys, so I think I would have noticed
> that problem (unless I did and suppressed it).
> 
> 
> Thorsten

On Mon, 2005-02-07 at 15:07 +0100, Joerg Fischer wrote:
> there is a problem in lesstif 94.0. This version is currently
> "untested" wrt nedit, and probably shouldn't go into the "known good
> list" because of the following problem. 
> 
> To reproduce, open nedit with default settings (ie, w/o preference
> files). Create two entries for the macro menu named A and B,
> respectivley, with content dialog("A") and dialog("B"), and with
> accelerator key Shift+Ctrl+B (or also Alt+Ctrl+B) for A and Ctrl+B 
> for B.
> 
> Hitting Shift+Ctrl+B will invoke B, then.
> 
> (I checked with nedit 5.5 and current cvs snapshot. Previous
> versions of lesstif don't show this problem. I didn't check the
> latest lesstif cvs snapshot though.)
> 
> 
> Cheers,
> Jörg

-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBCD251NEE+KCROU2kRAlXxAJ4+zWCPBo5zpGHTWNBch9StdSgjTgCgnnJp
8TJLI1oihH71gTcfUXrQsrE=
=YYOm
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.