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 115830 - Decimal numbers don't display correctly
Decimal numbers don't display correctly
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
1.1.x
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2003-06-24 01:30 UTC by Eric
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Eric 2003-06-24 01:30:35 UTC
When a number with a decimal in entered in a cell (exemple 1.1234), and
after you format the cell to be "number " it display the number incorrectly
(exemple: number with letters in it).

I have try version 1.0.x and 1.1.19 and i have the same problem. I have
open a bug on bugzilla.gentoo.org that you can found here :
http://bugs.gentoo.org/show_bug.cgi?id=19612
Comment 1 Morten Welinder 2003-06-24 02:13:02 UTC
This is quite weird.  To rule out anything compiler related (as
suggested by the gentoo log), could you try a totally fresh build
with no -march and no optimization.
Comment 2 Andreas J. Guelzow 2003-06-24 05:41:21 UTC
According to the gentoo report you were using locale fr_FR. It is
known that 1.1.19 does not work correctly with locales whose decimal
separator is a comma if cups is also installed. This is bug 115409
which is fixed in cvs.

Do you happen to run cups as your printing system?
Comment 3 Andreas J. Guelzow 2003-06-24 14:18:35 UTC
I probably should be clearer:

In de_DE (which like fr_FR uses , as a separator) and with cups as a
printing system, the locale infprmation used to get confused. THere
were various in carnations of this bug. In 1.1.19 I would see the same
effect you are seeing.

In the GENTOO report you state that this also happened under `C'.
Thisis strange. DOes it happen for you under `C' with completely new
files or are those files with content created under `fr_FR'? 
Comment 4 Eric 2003-06-24 16:21:51 UTC
i have recompiled with LC_ALL="C" and no optimisation for compilation
and the same problem occur in any language. I also use CUPS for
printing system.

I have an other computer wth Gentoo and  gnumeric works well, but i
use lprng as printing system. 
Comment 5 Morten Welinder 2003-06-24 21:11:37 UTC
Andreas: this does indeed look like the cups bug.  If you agree based
  on Eric's last comment, please close this report.

Eric: current gnumeric cvs works around this bug.
Comment 6 Andreas J. Guelzow 2003-06-25 04:37:47 UTC
Well, teh libcups problem shouldn't show itself unless the languages
you use use `,' as a separator. But this does sound very much like
that problem. I am closing this bug since I feel that it has been fixed. 

IIf the bug is still around in 1.1 20 when it will be relased or
later, please reopen this bug or file a new one. It is really
important that we get those bugs stamped out. Especially those that
only occur under some strange set of circumstances.