Keyboard responds badly on some keys (bad symbols output)

Bug #770354 reported by Lukáš Mojžíš
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xkeyboard-config
Fix Released
Medium
xkeyboard-config (Ubuntu)
Fix Released
Medium
Unassigned
Oneiric
Won't Fix
Medium
Unassigned
xorg (Debian)
New
Undecided
Unassigned
xorg (Fedora)
New
Undecided
Unassigned

Bug Description

[Impact]
The default Czech keyboard layout does not provide mappings for several keys commonly found on actual Czech keyboards. Pressing these keys on the keyboards generally results in incorrect or no symbols being printed.

[Development Fix]
In xkeyboard-config 2.5, which we're shipping in Precise, two patches were introduced to add the missing key definitions.

[Stable Fix]
The two patches apply cleanly to 2.3. I've merged them into a single patch to make the changes easier to review and track.

[Text Case]
1. Attach a Czech keyboard
2. Press the keys uring, uacute, parenright, iacute, eacute.
Broken Behavior: Symbols not matching what's printed on the keys are displayed
Fixed Behavior: Symbols matching the keys are displayed

[Regression Potential]
This is a very safe fix. The change alters only the Czech keyboard configuration file, and only adds key definitions; no existing keys change behavior.

[Original Report]
When I press certain keys, I expect I'll get the keys on the keyboard in my layout, I get bad ones instead though. Even when it is the right keystrokes that work well even in Windows and on Mac, even the symbols are printed on the keyboard. This needs to be patched. Problem is the symbols are mapped on different keys, some symbols have been duplicated. Maybe new keyboard layout should be made, some users sure used to this "buggy" layout. I made a new one where all errors I've found are already corrected. I attach new layout in the patchfile.

lsb_release is not relevant as this problem persists at least for 6 years in every distro I used (Ubuntu, Debian, Fedora, Linux Mint, etc...)

P.S.: The patchfile was made from:

/usr/share/X11/xkb/symbols/cz

Best regards
Lukáš Mojžíš
---
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell]
CompositorRunning: compiz
DRM.card0.DP.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.HDMI.A.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1366x768
 edid-base64: AP///////wANr3EVAAAAACQSAQOAIxN4Cgf1mldOhyYeUFQAAAABAQEBAQEBAQEBAQEBAQEBfh1WwlAAJjAfQUwAWMEQAAAYAAAA/gBOMTU2QjYtTDA0CiAgAAAA/gBDTU8KICAgICAgICAgAAAA/gBOMTU2QjYtTDA0CiAgAD0=
DRM.card0.VGA.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DistUpgraded: Fresh install
DistroCodename: natty
DistroRelease: Ubuntu 11.04
DistroVariant: ubuntu
DkmsStatus: virtualbox-ose, 4.0.4, 2.6.38-8-generic, x86_64: installed
GraphicsCard:
 Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 18) (prog-if 00 [VGA controller])
   Subsystem: Device [1b0a:00b9]
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110413)
MachineType: GIGABYTE i1520M
Package: xkeyboard-config (not installed)
ProcEnviron:
 LANGUAGE=cs_CZ:en
 LANG=cs_CZ.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=6118117d-1935-4975-851d-fcc23addbd48 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Renderer: Unknown
Tags: natty running-unity ubuntu compiz-0.9
Uname: Linux 2.6.38-8-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare
dmi.bios.date: 07/09/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: Spring Peak 151D 0900
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: To be filled by O.E.M.
dmi.board.vendor: To be filled by O.E.M.
dmi.board.version: To be filled by O.E.M.
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 10
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrSpringPeak151D0900:bd07/09/2010:svnGIGABYTE:pni1520M:pvrTobefilledbyO.E.M.:rvnTobefilledbyO.E.M.:rnTobefilledbyO.E.M.:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct10:cvrToBeFilledByO.E.M.:
dmi.product.name: i1520M
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: GIGABYTE
version.compiz: compiz 1:0.9.4+bzr20110415-0ubuntu2
version.ia32-libs: ia32-libs 20090808ubuntu13
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu2
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu7

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote :
tags: added: patch
Revision history for this message
Bryce Harrington (bryce) wrote :

Thanks Lukas, can you also provide the make and model of your keyboard?

Please also run `apport-bug 770354` which will attach some additional information about your keyboard and general X log files.

affects: xorg (Ubuntu) → xkeyboard-config (Ubuntu)
Changed in xkeyboard-config (Ubuntu):
status: New → Incomplete
Revision history for this message
Lukáš Mojžíš (lmojzis) wrote :

It tells me there's no such process... Model of my keyboard is unknown as it is generic laptop keyboard (not a removable one)...

Additionally, I've found out there are typos in my description in the patchfile... These are now corrected...

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

run 'apport-collect 770354' instead.

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : BootDmesg.txt

apport information

tags: added: apport-collected compiz-0.9 natty running-unity ubuntu
description: updated
Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : GconfCompiz.txt

apport information

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : GdmLog.txt

apport information

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : GdmLog1.txt

apport information

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : GdmLog2.txt

apport information

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : Lspci.txt

apport information

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : Lsusb.txt

apport information

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : ProcModules.txt

apport information

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : UdevDb.txt

apport information

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : UdevLog.txt

apport information

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : UnitySupportTest.txt

apport information

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : XorgLog.txt

apport information

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : XorgLogOld.txt

apport information

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : Xrandr.txt

apport information

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : locale.txt

apport information

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : monitors.xml.txt

apport information

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : peripherals.txt

apport information

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : setxkbmap.txt

apport information

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : xdpyinfo.txt

apport information

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : xinput.txt

apport information

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote : xkbcomp.txt

apport information

Revision history for this message
Bryce Harrington (bryce) wrote :

Lukáš Mojžíš - I've forwarded this patch upstream to http://bugs.freedesktop.org/show_bug.cgi?id=38017 - please subscribe yourself to this bug, in case they need further information or wish you to test something. Thanks ahead of time!

I'm not certain if this should be changed for all cz layouts or made specific to your keyboard, so am not incorporating it into Ubuntu just yet. I'm hoping upstream can provide some better insight into how it should be handled, and then we can decide how best to solve this in Ubuntu.

Changed in xkeyboard-config (Ubuntu):
status: Incomplete → Triaged
Bryce Harrington (bryce)
Changed in xkeyboard-config (Ubuntu):
importance: Undecided → Medium
Changed in xkeyboard-config:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in xkeyboard-config:
status: Confirmed → Fix Released
Revision history for this message
Bryce Harrington (bryce) wrote :

[Upstream bug indicates this is the necessary fix]

Revision history for this message
Lukáš Mojžíš (lmojzis) wrote :

Forgot to add colon on one key. This is the updated patch.

Revision history for this message
Bryce Harrington (bryce) wrote :

Hey lmojzis,

You filed this bug report against natty, but I see it's still open and
doesn't appear to have much activity recently. So, now that oneiric
is released and stable, this may be a good point for you to upgrade
and re-test if this issue is still present there.

If it's solved in the new release and you think it's worth backporting
the fix, please indicate that. Or if having the fix in the new release
is good enough, feel free to close out the bug (or let us know and we'll
close it.)

If it's not solved, leave the bug report open. I can't promise we'll
get to it (we get way more bugs filed than we can usually get to), but
your testing and feedback can help out if and when we do.

Changed in xkeyboard-config (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Lukáš Mojžíš (lmojzis) wrote :

I don't know if it's still there, I currently can't install vanilla oneiric anywhere, but it's definitely worth backporting. Many users still use LTS and so on.

Revision history for this message
Bryce Harrington (bryce) wrote :

Looks like there is now a fix in upstream git; we'll likely get this automatically for precise when we merge the newer xkeyboard-config, but might be worth SRU'ing this as well.

Changed in xkeyboard-config (Ubuntu):
status: Incomplete → Triaged
Bryce Harrington (bryce)
Changed in xkeyboard-config (Ubuntu Oneiric):
status: New → Triaged
importance: Undecided → Medium
Bryce Harrington (bryce)
description: updated
Changed in xkeyboard-config (Ubuntu):
status: Triaged → Fix Released
Changed in xkeyboard-config (Ubuntu Oneiric):
status: Triaged → Fix Committed
Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello Lukáš, or anyone else affected,

Accepted xkeyboard-config into oneiric-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Could someone who had the issue confirm that the fix works so it can be validated as a correct update and move out of staging?

Revision history for this message
Brian Murray (brian-murray) wrote :

The version of xkeyboard-config in oneiric-proposed has been removed as this bug report was not verified in a timely fashion.

Changed in xkeyboard-config (Ubuntu Oneiric):
status: Fix Committed → Won't Fix
Changed in xkeyboard-config (Ubuntu Oneiric):
status: Won't Fix → Triaged
Revision history for this message
Rolf Leggewie (r0lf) wrote :

oneiric has seen the end of its life and is no longer receiving any updates. Marking the oneiric task for this ticket as "Won't Fix".

Changed in xkeyboard-config (Ubuntu Oneiric):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.