Bugzilla – Bug 405055
Czech keyboard layout + Num Lock and problem with mapping Delete key as Delete + "," under the Wine
Last modified: 2008-07-28 16:33:29 UTC
This problem was previously reported in the freedesktop.org as http://bugs.freedesktop.org/show_bug.cgi?id=14479 and there is Wine's viewpoint (http://bugs.winehq.org/show_bug.cgi?id=9325). I'm putting it to Nowell's bugzilla, because I'm not able to make appropriate tests. Environment: Qt: 4.4.0 KDE: 4.00.84 (KDE 4.0.84 (KDE 4.1 >= 20080625) "release 1.1" wine-1.1.0 openSUSE 11 64-bit
Reassigning to our Wine expert. In general keyboard layout is a pain in Wine. :-(
Maybe it would be better reassigning it to someone KPDL mapping (Xorg) expert. This problem was closed in the Wine's bugzilla. There is a Dmitry's comment why (http://bugs.winehq.org/show_bug.cgi?id=9325#c6) In the Xorg bugzilla it's reported as http://bugs.freedesktop.org/show_bug.cgi?id=14479
i have no real idea here I am afraid. Stefan, do we have X keyboard experts on staff?
Created attachment 225513 [details] cz_sk-dropKPDL.diff Apply this patch with patch -p0 < cz_sk-dropKPDL.diff in /usr/share/X11/xkb.
Ladislav, does applying the patch help?
Cool! It seems to work fine. Great work. ;?)
Ok. I'll fix it for openSUSE 11.1.
This issue is tied with openSUSE only or it's need some Xorg's activity also?
The issue has been fixed upstream in CVS head of xkeyboard-config project. This is where I get the patches from.
fixed for Factory. xkeyboard-config.changes: ------------------------------------------------------------------- Wed Jul 2 14:01:32 CEST 2008 - sndirsch@suse.de - cz_sk-dropKPDL.diff * drop KPDL from cz/sk keyboard layout (bnc #405055, bfo #14479)
Ups. It seems that we made new problem - http://bugs.winehq.org/show_bug.cgi?id=9325#c14. It's true if NumLock is switch On then numeric key "Del" have to insert comma in Czech and Slovak keyboard layout.
Reason for reopen is described in Comment #11, but once more: The Czech/Slovak decimal symbol is comma (π=3,14) not point (π=3.14). Numeric key "Del" have assigned means point at this moment. For discuss. In the Windows OS switch between Czech/English changed means Del too (,/.). Maybe it would be better to tie it with content of field "Decimal symbol" in Regional & Language setting.
I reverted the patch and can't reproduce the initial problem at all. With Numlock off "Delete key" behaves as expected. With Numlock on it gives me comma in czech layout and point in us layout. I've tested with notepad, which we ship with the wine package. # setxkbmap us,cz -option "grp:shifts_toggle" -v Warning! Multiple definitions of keyboard layout Using command line, ignoring X server Trying to build keymap using the following components: keycodes: xfree86+aliases(qwerty) types: complete compat: complete symbols: pc+us+cz:2+group(shifts_toggle) geometry: pc(pc104) # notepad <works> I will revert this change.
done.
I tried: xkbmap us,cz -option "grp:shifts_toggle" -v with resul: Warning! Multiple definitions of keyboard layout Using command line, ignoring X server Trying to build keymap using the following components: keycodes: xfree86(thinkpad60)+aliases(qwerty) types: complete compat: complete symbols: pc+us+inet(thinkpad60)+cz:2+group(shifts_toggle) geometry: thinkpad(60) The Delete key works fine but the Numeric Del writes "." not "," with the cz layout still. Behaviour is the same in Notepad and KWrite. Notice: I tried to change keyboard geometry (Type) but always with the same result {pc(pc104), same MS geometry etc.}. My notebook is docked and both keyboards work equally.
See Comment #15
As already mentioned in comment #13 I can't reproduce this problem. ==> WORKSFORME