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 528351 - RFE: SpinButtons should respect the thousands separator in locale settings
RFE: SpinButtons should respect the thousands separator in locale settings
Status: RESOLVED DUPLICATE of bug 303381
Product: gtk+
Classification: Platform
Component: Widget: GtkSpinButton
2.12.x
Other All
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2008-04-16 04:21 UTC by Stewart Adam
Modified: 2017-09-12 13:17 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Stewart Adam 2008-04-16 04:21:06 UTC
The thousands separator is not used when displaying numbers in gtk.SpinButtons, and input using a comma is truncated (ie 2,569 becomes 2). It would be great numbers were displayed using the thousands separator defined in the current locale and the same for user input.

I spoke to some people on #pygtk about this, it may have to do with the fact that the C library does not respect it either.
Comment 1 Philippe Chaintreuil 2008-10-23 17:31:41 UTC
I'd second this request, and I'm coming from the C library level.  I have some spin buttons that range up to 40,000,000.  Telling 4000000 from 40000000 is pretty hard at a glance.
Comment 2 Philippe Chaintreuil 2009-11-03 18:48:41 UTC
Almost a year later: Ping
Comment 3 Daniel Boles 2017-09-12 13:17:55 UTC

*** This bug has been marked as a duplicate of bug 303381 ***