Bug 447252

Summary: Keyboard switcher does not work after bootup and incorrect layout set.
Product: [Fedora] Fedora Reporter: Ilya <neptunia>
Component: xorg-x11-serverAssignee: Peter Hutterer <peter.hutterer>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 9CC: axet, lsof, milan.kerslager, nshmyrev, simos.bugzilla, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-16 23:27:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot showing the bug none

Description Ilya 2008-05-19 05:40:03 UTC
Description of problem:

A keyboard layout bug. After boot strange characters entered from keyboard
instead proper ones. Also keyboard layout cannot be switched neither by
switchkey, nor through menu switcher. Default layout is US English, second
layout is Russian-winkeys. The proper layout can only be restored through
keyboard properties screen.

The attachment shows incorrect characters displayed just after bootup, with
layout indicator shows US English as the current layout.

Comment 1 Ilya 2008-05-19 05:40:03 UTC
Created attachment 305899 [details]
screenshot showing the bug

Comment 2 Ilya 2008-05-19 06:15:07 UTC
By the way, on the fresh system all worked well (FC9-release). The bug appeared
after I made updates from the Internet.

Comment 3 Milan Kerslager 2008-07-03 17:14:31 UTC
*** Bug 449305 has been marked as a duplicate of this bug. ***

Comment 4 Milan Kerslager 2008-07-03 17:21:44 UTC
I'm not sure what component should be selected for this bug. I hit the same
problem. After a restart I have to go to the keyboard setting through keyboard
applet and change something (deleting and adding keymap). Then keyboard
switching works then again. I'm using default GNOME session.

Comment 5 Ilya 2008-07-03 22:14:33 UTC
I think official Fedora notes should mention that languages other than English 
are not fully supported. Otherwise all people who use another language would 
think Fedora is a very buggy system.

Comment 6 Simos Xenitellis 2008-07-24 09:31:20 UTC
This bug appears to be similar to 

keyboard layout switching shortcut doesn't work after reboot
https://bugs.launchpad.net/bugs/196277

Could you please verify that you have enabled autologin on your system?

If this is the case, then it would be better to change the report title to
"Autologin in GNOME disables keyboard layout switching"

Comment 7 Alexey Kuznetsov 2008-07-24 09:40:00 UTC
As i know fedora 9 do not have autologin feature because xserver.1.4.9 do not
support it anymore.

Comment 8 Ilya 2008-07-24 10:01:30 UTC
You're wrong. It has no GUI for autologin to switch on, but I enabled autologin 
through config files.

Comment 9 Simos Xenitellis 2008-07-24 11:36:56 UTC
I am not familiar with Fedora; in Ubuntu there is an option in
System/Administration/Login Window/Security/Enable Automatic Login.

What this actually does is it tells GDM to let a specific user in by default.
Essentially, it's a GDM option in Ubuntu.

Comment 10 Peter Hutterer 2008-07-29 05:03:29 UTC
There are two separate issues here (from what I can tell so far).

One is that the keymap with autologin is different before and after the first
key has been pressed (when the keyboard is evdev anyway).

The other one is that gnome is incapable of setting the xkb map correctly.
Specifying layouts in HAL's fdi file or the xorg.conf works fine, including the
switcher applet.

I'm still trying to figure out why the second happens.

Comment 11 Peter Hutterer 2008-08-01 06:27:51 UTC
The fix is rather invasive [1]. I made F9 and rawhide packages, if you could
give them a try that would be much appreciated. Please make sure that you can
rollback in case something breaks:

F9 packages are at http://koji.fedoraproject.org/scratch/whot/task_751549/
Rawhide: http://koji.fedoraproject.org/scratch/whot/task_751591/

[1] http://people.freedesktop.org/~whot/patches/xkbfix/

Comment 12 Peter Hutterer 2008-08-05 06:42:02 UTC
This problem should be fixed in rawhide with 906-5. Can you please verify this.

Comment 13 Peter Hutterer 2008-08-07 07:09:08 UTC
*** Bug 440517 has been marked as a duplicate of this bug. ***

Comment 14 Nickolay V. Shmyrev 2008-08-25 21:37:53 UTC
Can you please update F9 packages, this bug is really critical. You have to go to the keyboard settings after every login and set layout switching again and again.

Comment 15 Peter Hutterer 2008-09-15 04:11:08 UTC
xorg-x11-server-Xorg 1.5.0 has been pushed to testing. This update should fix the issues with the keyboard switcher. Can you please verify this?

https://admin.fedoraproject.org/updates/F9/FEDORA-2008-8032

Comment 16 Fedora Update System 2008-09-16 23:26:51 UTC
xorg-x11-server-1.5.0-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 17 Milan Kerslager 2008-09-18 17:17:18 UTC
The bug has been resoved with prior fixes as I'm using xorg-x11-server-Xorg-1.4.99.906-5.fc10.i386 now and I'm fine for some time at most machines. Even that I have problem with &nbsp; produced by space key but only on one machine I have around with the same setup. See bud #460545 for more info.