[Bug 473657] New: X.Org-wide keyboard layout switching doesn't work
https://bugzilla.novell.com/show_bug.cgi?id=473657 Summary: X.Org-wide keyboard layout switching doesn't work Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: seldmail@gmail.com QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Created an attachment (id=271022) --> (https://bugzilla.novell.com/attachment.cgi?id=271022) SaX2 Keyboard Layout configuration dialog User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.5) Gecko/2008121300 SUSE/3.0.5-1.1 Firefox/3.0.5 X.Org wide keyboard layout switching doesn't work. Also notice empty fields in keyboard layout configuration window (see attachment SaX2-Keyboard_Layout.jpg). The problem seems to be in package xkeyboard-config 1.3 version. (Tested with default xkeyboard-config-1.3-32.30.noarch.rpm and xkeyboard-config-1.3-35.2.noarch.rpm from /X11:/XOrg/ repository.) The same problem occurred in openSUSE 11.0 when xkeyboard-config-1.3-32.30.noarch.rpm from /X11:/XOrg/ was installed. Workarounds: 1) Installing old xkeyboard-config-1.2-42.1.noarch.rpm from distribution/11.0/ repository 2) Using desktop environments keyboard layout switchers and xkb options Reproducible: Always Steps to Reproduce: 1.Turn off all desktop environment keyboard layout switchers and xkb Options 2.Add additional keyboard layout with Yast->Hardware->Keyboard Properties->Layout 3.Set in Yast->Hardware->Keyboard Properties->Options "CapsLock key changes layout" or any other layout switching option 4.Try to change keyboard layout in the test field of configuration window or 4.Save configuration 5.Restart X.Org 6.Try to change keyboard layout Actual Results: Keyboard layout switching doesn't work. Also Fn+PrintScreen keyboard shortcut doesn't work and keyboard shortcut with "Windows" key doesn't work. Expected Results: Keyboard layout switching should work. Fn+PrintScreen keyboard shortcut should work. Any keyboard shortcut with "Windows" key should work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=473657
User markgray+to-suse@puck.nac.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=473657#c1
Mark Gray
https://bugzilla.novell.com/show_bug.cgi?id=473657
User seldmail@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=473657#c2
--- Comment #2 from Andrey S
https://bugzilla.novell.com/show_bug.cgi?id=473657
User seldmail@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=473657#c3
--- Comment #3 from Andrey S
https://bugzilla.novell.com/show_bug.cgi?id=473657
User seldmail@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=473657#c4
--- Comment #4 from Andrey S
https://bugzilla.novell.com/show_bug.cgi?id=473657
Mark Gray
https://bugzilla.novell.com/show_bug.cgi?id=473657
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=473657
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=473657
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=473657#c5
Stefan Dirsch
Also notice empty fields in keyboard layout configuration window (see attachment SaX2-Keyboard_Layout.jpg).
That's a known issue. See Bug #447492. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=473657
User seldmail@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=473657#c6
--- Comment #6 from Andrey S
Using grp:shifts_toggle instead of grp:caps_toggle works for me.
setxkbmap us,ru -option "" -option "grp:shifts_toggle"
Yes! This command works. And also CapsLock toggling works if i run this command: setxkbmap us,ru -option "" -option "grp:caps_toggle" But, configuration is not loaded automatically by X.Org, unless I downgrade to xkeyboard-config 1.2*, although correct configuration is written to xorg.conf by Yast Keyboard configurator. See part of my xorg.conf file: Section "InputDevice" Driver "kbd" Identifier "Keyboard[0]" Option "Protocol" "Standard" Option "XkbLayout" "us,ru" Option "XkbModel" "logiik" Option "XkbOptions" "grp:caps_toggle" Option "XkbRules" "xfree86" Option "XkbVariant" "basic,basic" EndSection I turned on my openSUSE 11.0 especially for the testing. And then: 1) Added X11/XOrg/ repository, updated xkeyboard-config from 1.2-42.1-noarch to 1.3-36.1-noarch. 2) Unchecked in Yast -> Keyboard Layout "CapsLock key changes layout" and checked "Both Shift keys together change layout" 3) Realoaded X.Org Results: ==> "Both Shift keys together" don't change layout ==> "Windows" key doesn't work with any of the keyboard shortucts ==> Alt+Ctrl+F1(-F10) shortcuts don't work After this I downgraded back to xkeyboard-config 1.2-42.1-noarch and reloaded X.Org. Results: ==> "Both Shift keys together" change layout ==> "Windows" key works with any of the keyboard shortucts ==> Alt+Ctrl+F1(-F10) shortcuts works Or I can issue the command you gave me: setxkbmap us,ru -option "" -option "grp:shifts_toggle" (setxkbmap us,ru -option "" -option "grp:caps_toggle" it doesn't really matter) and everything works as it should even with xkeyboard-config 1.3*: ==> "Both Shift keys together" change layout ==> "Windows" key works with any of the keyboard shortucts ==> Alt+Ctrl+F1(-F10) shortcuts works _In conclusion_: the problem is that with xkeyboard-config 1.3* proper xkb configuration is not loaded by X.Org upon login. That is the case for openSUSE 11.1 and openSUSE 11.0.
Could you explain to me why you want to use Caps to toggle? Since then you can't switch between capital and small letters any longer. Maybe I think this question is not related with the topic, but I'll explain if you are really interested. I NEVER use Caps lock to switch between capital and small lettes. Why should I, if there are Shift keys for that purpose? Anyway 'normal' CapsLock function remains available through Shift+CapsLock shortcut.
That's a known issue. See Bug #447492. I can not see this bug. It is some kind of 'classified' bug I suppose, because bugzilla give me this:
"Access Denied You are not authorized to access bug #447492." So I guess that is why it is not that wide-known. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=473657
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=473657#c7
Stefan Dirsch
Option "XkbModel" "logiik"
Sounds rather special, but all in all I think it's a duplicate of Bug #432627.
That's a known issue. See Bug #447492. I can not see this bug. It is some kind of 'classified' bug I suppose, because bugzilla give me this:
"Access Denied You are not authorized to access bug #447492."
So I guess that is why it is not that wide-known.
I've added you to Cc now. *** This bug has been marked as a duplicate of bug 432627 *** https://bugzilla.novell.com/show_bug.cgi?id=432627 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=473657
User seldmail@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=473657#c8
--- Comment #8 from Andrey S
Option "XkbModel" "logiik" Sounds rather special,
Really? That's just a model of a Logitech keyboard, but it doesn't really matter. This option is for the additional media-keys. I can change it to Microsoft or something else. Result is the same.
but all in all I think it's a duplicate of Bug #432627.
Hmm, maybe I don't really understand the term 'duplicate' right, but I don't think it is a duplicate of Bug #432627. Here is why: 1) I don't use KDE 4 (I use KDE 3) 2) I don't use autologin 2) Backspace and arrow keys DO work normally, as they should. Furthermore, I tested things in 'Failsafe' session straight in the console, which opens upon login. Results are the same: ==> Keyboard layout won't change ==> Alt+Ctrl+F1(-F10) shortcuts don't work, ... .. unless I - downgrade to xkeyboard-config 1.2-* - issue setxkbmap command So I can conclude that problem is totally KDE unrelated, unlike the bug #432627: "Have tested failsafe session. Keyboard works fine in xterm and Firefox, allkeys working good" (see this comment https://bugzilla.novell.com/show_bug.cgi?id=432627#c7) So I guess, the real problem is that X.Org doesn't load proper configuration from xorg.conf (or has configuration syntax changed??). And it is not related with non-working Backspace in KDE 4 or arrow keys or is it? And there is also one strange thing, that I don't really understand. It is the fact that empty fields in keyboard layout configuration window disappear and everything is back to normal if I downgrade to xkeyboard-config 1.2-* . -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com