[5664] in testers

home help back first fref pref prev next nref lref last post

Re: caps lock doesn't under gnome-terminal, 9.2.8

daemon@ATHENA.MIT.EDU (Robert A Basch)
Thu Jul 24 18:02:52 2003

From: Robert A Basch <rbasch@MIT.EDU>
To: Angie Kelic <sly@mit.edu>
Cc: testers@mit.edu
In-Reply-To: <Pine.LNX.4.33L.0307061153450.3910-100000@nighthawk.mit.edu>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1059084170.20711.23.camel@abulia.mit.edu>
Mime-Version: 1.0
Date: 24 Jul 2003 18:02:50 -0400

On Sun, 2003-07-06 at 11:55, Angie Kelic wrote:
> I noticed yesterday on a Sun running 9.2.8 that hitting
> the caps lock key does not actually give you caps lock
> mode in gnome-terminal (though I do get caps lock mode
> in my xterms).

I looked into this -- it seems that both caps lock and num
lock are broken in the gdk library when the XKEYBOARD extension
is not used, as is the case on Solaris.  This appears to be
the result of a rewrite of the relevant code for looking up
a key symbol, in response to bug 93575 in gnome bugzilla.
(That bug dealt with the Compose key not working, and the fix
replaced the use of XLookupString() with newly written code
which does the key translation itself).  Unfortunately, I
don't see an obvious flaw in the new code; there are related
bug reports filed, so I will submit additional comments.

I found that the same problem occurs on Linux if you install
a gdk-x11 library without XKEYBOARD support.  I also found
that when I enable the extension on Solaris, caps lock works,
but num lock still doesn't.

Also, I found that other gtk2 programs exhibit the same problem,
including nautilus and gedit.  On the bright side, the Compose
key seems to work fine.

Bob


home help back first fref pref prev next nref lref last post