After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 127296 - GOK compose keylabels bad with XFree 4.3
GOK compose keylabels bad with XFree 4.3
Status: RESOLVED FIXED
Product: gok
Classification: Deprecated
Component: general
unspecified
Other Linux
: High critical
: ---
Assigned To: bill.haneman
bill.haneman
AP1
Depends on:
Blocks: 122112
 
 
Reported: 2003-11-18 14:00 UTC by bill.haneman
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot showing (correct) GOK keycaps for 'de' keyboard with Xfree 4.2 (31.40 KB, image/png)
2003-11-18 14:02 UTC, bill.haneman
Details
screenshot showing GOK 'de' keyboard with XF 4.3 (bad labels) (31.50 KB, image/png)
2003-12-08 12:24 UTC, bill.haneman
Details

Description bill.haneman 2003-11-18 14:00:26 UTC
This seems to depend on the version of XFree being used...GOK is OK with
4.2 but 4.3 is very broken indeed.

GOK is calling XkbTranslateKeysym, which in older XFree returns a valid
UTF-8 string for the keycap.  But in 4.3 it returns an ASCII string
_describing_ the keysym, so instead for instance of '£' it returns
"sterling", instead of the correct symbol for e with an accent acute, it
returns "eacute", etc.

This is very bad indeed for GOK's XKB-generated keyboards.
Comment 1 bill.haneman 2003-11-18 14:02:37 UTC
Created attachment 21584 [details]
screenshot showing (correct) GOK keycaps for 'de' keyboard with Xfree 4.2
Comment 2 David Bolter 2003-11-19 00:38:44 UTC
Is there some discussion going on somewhere about this?  I couldn't
find anything at http://bugs.xfree86.org/  -- perhaps we should open a
bug there.
Comment 3 bill.haneman 2003-11-19 14:06:58 UTC
I have made an enquiry but have heard nothing so far.

Some more research is needed on our end probably to get a good handle
on this; it requires a development machine running 4.3, which I'm
getting set up now.

I strongly suspect that what we'll hear is, "the old behavior" (on
which we depend) "was incorrect, the new behavior is the fix", in
which case we won't be able to make progress and will have to work
around this in a most horrific way.  i.e. we need to do string-lookup
in a table that understands all possible X unicode keysym names.  Not
pretty at all.

- Bill
Comment 4 David Bolter 2003-11-29 19:15:16 UTC
Bill, I'm assuming this one is yours?  ;-)
Comment 5 bill.haneman 2003-12-08 12:24:18 UTC
Created attachment 22214 [details]
screenshot showing GOK 'de' keyboard with XF 4.3 (bad labels)
Comment 6 bill.haneman 2003-12-08 14:42:52 UTC
Fixed in CVS; thanks to Marcus Kuhn for the public-domain source file
that made the fix easy!