in french locale, KPDL returns period instead of KP_SEPARATOR

Bug #30211 reported by Jean Bréfort
10
Affects Status Importance Assigned to Milestone
xkeyboard-config (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

This is an important feature for spreadsheet where KP_SEPARATOR is transformed to the current locale decimal separator.
The spreadsheet known to be affected by this problem is gnumeric. I tested gnumeric1.6.1 and/or 1.6.2 on various distributions (not all, of course), and only ubuntu (both breezy and dapper) presented this problem.
On Breezy, I compiled from sources, since the official package is the somewhat unstable 1.5.90 :-(

Revision history for this message
Sebastien Bacher (seb128) wrote :

When pressing KPDL I get a "," with gnumeric of my dapper french configuration. Where do you press the key? Somewhere on the spreadsheet? What do you get? What keyboard configuration do you use?

Revision history for this message
Jean Bréfort (jean-brefort-normalesup) wrote :

The locale is fr_FR.UTF-8 and the keyboard layout is "France Alternative".

xev gives:
KeyPress event, serial 29, synthetic NO, window 0x3600001,
    root 0x4c, subw 0x0, time 1087856017, (245,157), root:(255,230),
    state 0x2010, keycode 91 (keysym 0x2e, period), same_screen YES,
    XKeysymToKeycode returns keycode: 59
    XLookupString gives 1 bytes: (2e) "."
    XmbLookupString gives 1 bytes: (2e) "."
    XFilterEvent returns: False

With "France" as layout, things work:
KeyPress event, serial 29, synthetic NO, window 0x3600001,
    root 0x4c, subw 0x0, time 1088190558, (472,692), root:(482,765),
    state 0x10, keycode 91 (keysym 0xffae, KP_Decimal), same_screen YES,
    XLookupString gives 1 bytes: (2e) "."
    XmbLookupString gives 1 bytes: (2e) "."
    XFilterEvent returns: False

Matt Zimmerman (mdz)
Changed in xkeyboard-config:
assignee: nobody → tfheen
Revision history for this message
Sebastien Bacher (seb128) wrote :

What do you use "France Alternative"? That seems to be a keymap issue ...

Revision history for this message
Jean Bréfort (jean-brefort-normalesup) wrote :

I use the default settings I got after installation. And it is a keymap issue.

Tollef Fog Heen (tfheen)
Changed in xkeyboard-config:
assignee: tfheen → nobody
Revision history for this message
Olivier Mengué (dolmen) wrote :

I provide additional and updated information in bug 188342.

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