xkb-data: incorrect Finnish kotoisuus keymap

Bug #738314 reported by Martin-Éric Racine
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xkeyboard-config
Unknown
Medium
console-setup (Debian)
Fix Released
Unknown
console-setup (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: xkeyboard-config

According to https://secure.wikimedia.org/wikipedia/fi/wiki/Tiedosto:KB_Finnish_Multilingual.svg the hyphen key should have some deadkey diacritic that would appear OVER a letter but, instead, /usr/share/X11/xkb/symbols/fi has dead_belowcomma, which is apparently a non-existent symbol, which makes console-setup complain loudly.

    key <AB10> { [ minus, underscore, endash, dead_belowcomma ] };

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xkb-data 2.1-1ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-7.36-generic 2.6.38
Uname: Linux 2.6.38-7-generic i686
Architecture: i386
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
DRM.card0.DVI.D.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1280x800
 edid-base64: AP///////wAwZAY3MTgwMikRAQOAGhB4CoeumVdPjCYiUFQAAAABAQEBAQEBAQEBAQEBAQEBwhoAglAgCjAQMCIABaMQAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAA/gBUTTExMaExMjFFVzNEAAAA/gAqOUVQcJCw/wEBCiAgAF8=
DRM.card0.VGA.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
Date: Sat Mar 19 18:40:47 2011
Dependencies:

DistUpgraded: Log time: 2009-02-14 21:14:26.891608
DistroCodename: natty
DistroVariant: ubuntu
GconfCompiz:
 /apps/compiz-1/general:
   /apps/compiz-1/general/screen0:
    /apps/compiz-1/general/screen0/options:
     hsize = 1
     vsize = 1
GraphicsCard:
 Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:0201]
   Subsystem: Dell Device [1028:0201]
MachineType: Dell Inc. Latitude D430
ProcEnviron:
 LANGUAGE=fi_FI:fi_FI.UTF-8:fi
 PATH=(custom, user)
 LANG=fi_FI.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-7-generic root=UUID=cd9a1998-9fb2-4208-aba6-bc2ba8f5e36a ro panic=15 quiet splash vt.handoff=7
Renderer: Unknown
SourcePackage: xkeyboard-config
UdevDb: Error: [Errno 2] Tiedostoa tai hakemistoa ei ole
UpgradeStatus: Upgraded to natty on 2009-09-14 (551 days ago)
dmi.bios.date: 06/20/2007
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A01
dmi.board.name: 000007
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA01:bd06/20/2007:svnDellInc.:pnLatitudeD430:pvr:rvnDellInc.:rn000007:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Latitude D430
dmi.sys.vendor: Dell Inc.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.23-1ubuntu3
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6~3ubuntu11
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-4ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu6

Revision history for this message
Martin-Éric Racine (q-funk) wrote :
Revision history for this message
In , Bryce Harrington (bryce) wrote :

Forwarding this bug from Ubuntu reporter Martin-ric Racine:
http://bugs.launchpad.net/ubuntu/+source/xkeyboard-config/+bug/738314

According to https://secure.wikimedia.org/wikipedia/fi/wiki/Tiedosto:KB_Finnish_Multilingual.svg the hyphen key should have some deadkey diacritic that would appear OVER a letter but, instead, /usr/share/X11/xkb/symbols/fi has dead_belowcomma, which is apparently a non-existent symbol, which makes console-setup complain loudly.

    key <AB10> { [ minus, underscore, endash, dead_belowcomma ] };

DistroRelease: Ubuntu 11.04
Package: xkb-data 2.1-1ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-7.36-generic 2.6.38
Uname: Linux 2.6.38-7-generic i686
Architecture: i386
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
DRM.card0.DVI.D.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1280x800
 edid-base64: AP///////wAwZAY3MTgwMikRAQOAGhB4CoeumVdPjCYiUFQAAAABAQEBAQEBAQEBAQEBAQEBwhoAglAgCjAQMCIABaMQAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAA/gBUTTExMaExMjFFVzNEAAAA/gAqOUVQcJCw/wEBCiAgAF8=
DRM.card0.VGA.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
Date: Sat Mar 19 18:40:47 2011
Dependencies:

DistUpgraded: Log time: 2009-02-14 21:14:26.891608
DistroCodename: natty
DistroVariant: ubuntu
GconfCompiz:
 /apps/compiz-1/general:
   /apps/compiz-1/general/screen0:
    /apps/compiz-1/general/screen0/options:
     hsize = 1
     vsize = 1
GraphicsCard:
 Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:0201]
   Subsystem: Dell Device [1028:0201]
MachineType: Dell Inc. Latitude D430
ProcEnviron:
 LANGUAGE=fi_FI:fi_FI.UTF-8:fi
 PATH=(custom, user)
 LANG=fi_FI.UTF-8ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-7-generic root=UUID=cd9a1998-9fb2-4208-aba6-bc2ba8f5e36a ro panic=15 quiet splash vt.handoff=7
Renderer: Unknown
SourcePackage: xkeyboard-config
UdevDb: Error: [Errno 2] Tiedostoa tai hakemistoa ei ole
UpgradeStatus: Upgraded to natty on 2009-09-14 (551 days ago)
dmi.bios.date: 06/20/2007
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A01
dmi.board.name: 000007
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA01:bd06/20/2007:svnDellInc.:pnLatitudeD430:pvr:rvnDellInc.:rn000007:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Latitude D430
dmi.sys.vendor: Dell Inc.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.23-1ubuntu3
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6~3ubuntu11
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-4ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu6

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

Created attachment 44698
xkbcomp.txt

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

Created attachment 44699
setxkbmap.txt

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

Created attachment 44700
XorgLog.gz

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

Martin-Éric Racine - I've forwarded this bug upstream to http://bugs.freedesktop.org/show_bug.cgi?id=35527 - please subscribe yourself to this bug, in case they need further information or wish you to test something. Thanks ahead of time!

Changed in xkeyboard-config (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Changed in xkeyboard-config:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
In , Sergey V. Udaltsov (svu) wrote :

dead_belowcomma is a valid character.

/usr/include/X11/keysymdef.h:#define XK_dead_belowcomma 0xfe6e

Revision history for this message
In , Martin-Éric Racine (q-funk) wrote :

There's two issues at stake:
1) the kernel has a problem with dead_belowcomma.
2) the keymap is incorrect to begin with. See the wikipedia map I linked to.

Revision history for this message
In , Sergey V. Udaltsov (svu) wrote :

#1 is NOTOURBUG - I am serving primarily X, not console;)
#2 I am open to suggestions.

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

Martin-Eric, for #1 if you can file a bug with the kernel guys and mention it to jfo, they might be able to look at it, although it's probably too late for such kernel changes in natty.

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

Hey q-funk,

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
Martin-Éric Racine (q-funk) wrote :

Still an issue with Precise. However, I'm not sure of what should be the correct deadkey character that appears in that image.

This being said, as Sergey points out in the upstream bug, dead_belowcomma is a valid character, so this should at least be a usable configuration, and yet it still makes console-setup complain loudly as described above.

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

Setting up keyboard-configuration (1.70ubuntu1) ...
WARNING: Unknown X keysym "dead_belowcomma"
WARNING: Unknown X keysym "dead_belowcomma"
WARNING: Unknown X keysym "dead_belowcomma"
WARNING: Unknown X keysym "dead_belowcomma"
Your console font configuration will be updated the next time your system
boots. If you want to update it now, run 'setupcon' from a virtual console.
update-initramfs: deferring update (trigger activated)
Setting up console-setup (1.70ubuntu1) ...
WARNING: Unknown X keysym "dead_belowcomma"
WARNING: Unknown X keysym "dead_belowcomma"
WARNING: Unknown X keysym "dead_belowcomma"
WARNING: Unknown X keysym "dead_belowcomma"
Your console font configuration will be updated the next time your system
boots. If you want to update it now, run 'setupcon' from a virtual console.
update-initramfs: deferring update (trigger activated)

Revision history for this message
In , Martin-Éric Racine (q-funk) wrote :

Setting up keyboard-configuration (1.70ubuntu1) ...
WARNING: Unknown X keysym "dead_belowcomma"
WARNING: Unknown X keysym "dead_belowcomma"
WARNING: Unknown X keysym "dead_belowcomma"
WARNING: Unknown X keysym "dead_belowcomma"
Your console font configuration will be updated the next time your system
boots. If you want to update it now, run 'setupcon' from a virtual console.
update-initramfs: deferring update (trigger activated)
Setting up console-setup (1.70ubuntu1) ...
WARNING: Unknown X keysym "dead_belowcomma"
WARNING: Unknown X keysym "dead_belowcomma"
WARNING: Unknown X keysym "dead_belowcomma"
WARNING: Unknown X keysym "dead_belowcomma"
Your console font configuration will be updated the next time your system
boots. If you want to update it now, run 'setupcon' from a virtual console.
update-initramfs: deferring update (trigger activated)

Revision history for this message
In , Daniel Stone (daniels) wrote :

(In reply to comment #8)
> Setting up keyboard-configuration (1.70ubuntu1) ...
> WARNING: Unknown X keysym "dead_belowcomma"
> WARNING: Unknown X keysym "dead_belowcomma"
> WARNING: Unknown X keysym "dead_belowcomma"
> WARNING: Unknown X keysym "dead_belowcomma"

http://cgit.freedesktop.org/xorg/proto/x11proto/commit/keysymdef.h?id=735d745e17a6180f569f24f9792513b44e100aef

Revision history for this message
In , Martin-Éric Racine (q-funk) wrote :

Daniel, thanks for showing us the exact commit. That doesn't explain what makes keyboard configuration complain loudly as seen below.

Revision history for this message
In , Daniel Stone (daniels) wrote :

(In reply to comment #10)
> Daniel, thanks for showing us the exact commit. That doesn't explain what makes
> keyboard configuration complain loudly as seen below.

No, it doesn't. But, however, the ten seconds it took me to download the source package for keyboard-configuration (a Debian-specific package which has literally nothing to do with X) and run grep shows what does trigger that warning: the fact that ckbcomp (again, nothing to do with X) has a built-in X keysym -> kernel keysym table, which does not include dead_belowcomma.

As someone who is apparently both an X and a Debian developer, surely you could've done this yourself?

affects: xkeyboard-config (Ubuntu) → console-setup (Ubuntu)
Revision history for this message
Martin-Éric Racine (q-funk) wrote :

As pointed out by upstream, this is an issue with the original Debian code for console-setup, so I filed a bug at Debian and linked this bug to it.

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

Great, thanks

Changed in console-setup (Ubuntu):
status: Incomplete → Triaged
importance: Low → Medium
Changed in console-setup (Debian):
status: Unknown → New
Revision history for this message
Martin-Éric Racine (q-funk) wrote :

According to Debian, the unknown keysym issue was fixed in version 1.71 of console-setup. This should probably be merged.

Changed in console-setup (Debian):
status: New → Fix Released
Revision history for this message
Martin-Éric Racine (q-funk) wrote :

The issue still isn't resolved at Ubuntu as of 1.70ubuntu3

Changed in console-setup (Ubuntu):
milestone: none → ubuntu-12.04-beta-2
Revision history for this message
Bryce Harrington (bryce) wrote :

console-setup needs this commit:

commit e4d3331c65f24afe345469a2c8cab7b973e839cc
Author: Anton Zinoviev <email address hidden>
Date: Wed Mar 9 10:04:21 2011 +0200

    console-setup: new build system, ckbcomp supports FreeBSD

Not directly cherry-pickable as it mixes in a bunch of other stuff in addition to the dead keys.

Bryce Harrington (bryce)
Changed in console-setup (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package console-setup - 1.70ubuntu4

---------------
console-setup (1.70ubuntu4) precise; urgency=low

  * Add definitions for four (ignored) dead-keys: dead_belowcomma,
    dead_currency, dead_doublegrave, and dead_invertedbreve. Cherrypick
    from Debian git.
    (LP: #738314)
  * Fix command injection in ckbcomp (thanks to Emanuel Bronshtein)
    (LP: #782705)
 -- Bryce Harrington <email address hidden> Mon, 19 Mar 2012 21:13:39 -0700

Changed in console-setup (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
In , Gitlab-migration (gitlab-migration) wrote :

-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/issues/96.

Changed in xkeyboard-config:
status: Confirmed → Unknown
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.