Red Hat Bugzilla – Bug 493172
Dead keys not working in some applications (xterm, emacs)
Last modified: 2009-11-25 00:30:22 EST
Created attachment 337405 [details]
X session error log
Description of problem:
Not sure if this is the correct component to report on.
Dead keys stopped working for some applications, not sure when.
I'm using Gnome, layout is Finland layout, keyboard model is Evdev-managed keyboard.
They seem to work in all GTK applications (tested: gedit, firefox, x-chat) and also QT applications (qtconfig-qt4), but not on some (xterm, emacs).
Also tried with Sweden layout and Generic 105-key (Intl) PC model with same problems. I'm unable to set the "Default" radio-button in keyboard preferences but the layout changes if I drag&drop the wanted layout to first in list.
Version-Release number of selected component (if applicable):
# rpm -qa imsettings* scim* xkey* xterm* emacs* *font* *xim* | sort
Steps to Reproduce:
1. start xterm or emacs
2. try to input ~ using dead-key combination of "altgr" + "~" + "space"
xterm: A plain space character.
emacs: Error message "<dead-tilde> is undefined"
I should be getting the correct character "~".
The following error message comes from imsettings-applet everytime I press any key on xterm (including modifiers like shift and alt):
[BUG][ 1238531428.714163] xim_proxy_client_protocol_real_xim_forward_event: The pending key event counter is overflowed
And the following warning comes from imsettings-applet when I start xterm:
W[ 1238531541.790674]:Error while processing a value type NestedList: Error while processing a value type XFontSet: Unable to compose a value type XFontSet properly due to the size difference: expected size: 129, actual size: 132
try to gather the correct information for your keyboard settings:
% xprop -root | grep XKB
and for your locale:
and for current IM settings:
% ls -l ~/.xinputrc
Thanks, the output of those commands led me in right direction (.xinputrc points to scim configuration), rebooting once more helped.
When I noticed that the dead-keys were not working, I tried to log out and back in, it didn't help. Then I created a new user and switched to that user, dead-keys were not working with that new user neither. Then I rebooted and that didn't help. Then I removed all the scim packages and rebooted, that didn't help. Then I re-installed the scim packages and rebooted, then for a while the dead-keys were working, but I had gotten the scim tray-icon which was new to me so I tried to quit it, it crashed and my dead-keys went back to no-working condition. Rebooting after that solved the problem, I guess just logging out/back in would have also.
Between all the steps above I messed with the keyboard settings, and at some point the .xinputrc link had been made (see the timestamp of the file). My newly created user account doesn't have the .xinputrc -link and dead-keys are not working with that user. My current user and that user have both been created with the adduser -command. The same problem happens (no .xinputrc) if using the GUI tool to add a new user and dead-keys are not working for the new user.
Below is the requested information even though it's now working, the only difference between these and with the non-working users is the missing .xinputrc link from the non-working users.
$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "evdev", "pc105", "fi", "", ""
_XKB_RULES_NAMES(STRING) = "evdev", "evdev", "fi", "", ""
* 1: SCIM (recommended)
$ ls -l ~/.xinputrc
lrwxrwxrwx 1 joyr joyr 33 2009-03-31 22:27 /home/joyr/.xinputrc -> /etc/X11/xinit/xinput.d/scim.conf
(In reply to comment #2)
> My current user and that user have both been
> created with the adduser -command.
Correction to the above, my current user (joyr) was created during the installation of Fedora.
Please give me one more information. what happens if you run xterm and emacs with XMODIFIERS=@im=none?
I ran the following from xterm:
I tested both with my current user (working dead-keys without the environment variable, has .xinputrc and all other settings as in comment 2), and also tested with a newly created user (missing .xinputrc and dead-keys not working without that environment variable).
Same results with both users: dead keys worked correctly in both applications.
how about XMODIFIERS=@im=SCIM then?
Mixed results with XMODIFIERS=@im=SCIM
With my current user that has the .xinputrc:
xterm : dead keys work
emacs : dead keys work
With the new user without .xinputrc:
xterm : dead keys work
emacs : dead keys do not work
I get the error message "<dead-xxx> is undefined"
where xxx is the dead-key pressed
See also https://bugzilla.redhat.com/show_bug.cgi?id=479336
See also https://bugzilla.redhat.com/show_bug.cgi?id=493017
This message is a reminder that Fedora 10 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 10. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '10'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 10's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 10 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
This sounds like a duplicate of bug 505100.
We don't use XIM support in imsettings anymore since F-11. closing this as UPSTREAM.