GNOME Bugzilla – Bug 122941
KP_Separator doesn't do anything
Last modified: 2011-02-04 16:12:10 UTC
The symbol KP_Separator doesn't do anything in most of the gtk2 applications. According to the comments to bug #105161, it should insert a comma. (I've checked that patch from CVS but it doesn't solve the problem.) Actually, it works if I choose X Input Method. Attached trivial patch works for me.
Created attachment 20183 [details] [review] my patch
I can confirm this. This is a real usability issue with spreadsheets. gtk+ 2.2.4 built with Garnome 0.27.1 (Gnome 2.4) RedHat 9 XFree86 Version 4.3.0 (Red Hat Linux release: 4.3.0-2) LANG=en_US LC_NUMERIC=fi_FI.utf8@euro So the keypad comma generates KP_Separator, and if gtk doesn't map it to comma, it's a PIA to enter numbers. The above patch fixes this problem for all gnome applications and OpenOffice too. I would very much like to see this fix in the 2.4 releases.
Looks good for gtk-2-2 and HEAD.
Committed to both branches.