After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 105161 - decimal key on keypad is now locale dependant
decimal key on keypad is now locale dependant
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: X11
2.2.x
Other Linux
: Normal critical
: ---
Assigned To: gtk-bugs
gtk-bugs
: 111563 113485 (view as bug list)
Depends on:
Blocks: 80139
 
 
Reported: 2003-02-03 22:25 UTC by Frederic Crozat
Modified: 2005-11-13 02:58 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2



Description Frederic Crozat 2003-02-03 22:25:05 UTC
A regression has appeared after 0.10.15 (I'm seeing it with 0.10.17) which
causes decimal key (on the keypad) to output ',' instead of '.' when using
VTE in French locale (this is because French uses a comma as a float
separator). 

This behaviour should be restricted to spreadsheets and is obviously wrong
in a terminal emulator..
Comment 1 Frederic Crozat 2003-02-08 08:23:21 UTC
This regression is due to fix for bug #101225

* gdk/gdkkeyuni.c (get_decimal_char): Make the
translation of GDK_KP_Decimal dependent on LC_NUMERIC.

and can be seen in any GTK+2 application when using GTK+ 2.2.1

On French keyboard, KP_Decimal is a '.', even if ',' is the decimal
separator.. 
        
Comment 2 Owen Taylor 2003-03-28 15:13:49 UTC
There's nothing I can do as long as the key symbol is KP_Decimal.
This has to be fixed upstream by using unambiguous key symbols
for . and , on the keypad.

I'd advise sending a proposal to the XFree86 development lists.
Comment 3 Owen Taylor 2003-05-22 12:40:14 UTC
*** Bug 113485 has been marked as a duplicate of this bug. ***
Comment 4 Abigail Brady 2003-06-26 18:26:20 UTC
*** Bug 111563 has been marked as a duplicate of this bug. ***
Comment 5 Owen Taylor 2003-09-05 18:24:31 UTC
Fri Sep  5 14:15:10 2003  Owen Taylor  <otaylor@redhat.com>
  
        * Back out locale-dependent interpretation of
        KP_Decimal, the official XFree86 interpretation
        is that KP_Decimal => . KP_Separator => ,
        always, independent of locale.
        (#105161, Frederic Crozat,
        http://bugs.xfree86.org/show_bug.cgi?id=534)
Comment 6 Egmont Koblinger 2003-09-22 14:36:48 UTC
It's still not prefect, see bug #122941.