GNOME Bugzilla – Bug 105161
decimal key on keypad is now locale dependant
Last modified: 2005-11-13 02:58:51 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..
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..
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.
*** Bug 113485 has been marked as a duplicate of this bug. ***
*** Bug 111563 has been marked as a duplicate of this bug. ***
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)
It's still not prefect, see bug #122941.