[grisbi-bugs] [Grisbi-0.6.0 0001215]: Planned income will result in an err-funny saldo

Grisbi Bug Tracker bugtracker at grisbi.org
Tue Dec 14 12:10:05 CET 2010


The following issue has been REOPENED. 
====================================================================== 
http://grisbi.tuxfamily.org/mantis/view.php?id=1215 
====================================================================== 
Reported By:                konqi
Assigned To:                pbiava
====================================================================== 
Project:                    Grisbi-0.6.0
Issue ID:                   1215
Category:                   
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Plateforme:                 Mac OS 
OS:                         Autre(Other) 
Version OS:                  
Unstable Impact:            Yes 
Version GTK:                 
====================================================================== 
Date Submitted:             2010-12-03 22:25 UTC
Last Modified:              2010-12-14 11:10 UTC
====================================================================== 
Summary:                    Planned income will result in an err-funny saldo
Description: 
With a fresh account, an initial balance, and just one planned income will
result in a false result of account balance

Steps to Reproduce: 
0) create account with 451,56 (or something else with decimals)
1) Then create a planned income of just 1 Euro
2) see plan in account, where result of 451,56 + 1,00 is 551,56
=> Grisbi seems to add with a factor 100 (indifferently if I use 1 Euro, or 2,
or ....2000, the factor is the same)

Additional Information: 
please see Screenshot
====================================================================== 

---------------------------------------------------------------------- 
 (0002803) gerald (administrator) - 2010-12-04 09:04
 http://grisbi.tuxfamily.org/mantis/view.php?id=1215#c2803 
---------------------------------------------------------------------- 
What is the version of Grisbi affected ?
What is the version of Mac OS X ?

It seam that is a bug with the locale support.

Then, the X11 version will be no longer supported, please use the latest devel
version available at sourceforge or
http://www.grisbi.org/download/Grisbi.app/devel 

---------------------------------------------------------------------- 
 (0002804) konqi (reporter) - 2010-12-04 12:31
 http://grisbi.tuxfamily.org/mantis/view.php?id=1215#c2804 
---------------------------------------------------------------------- 
correct, locale defect also visible in Beta 0.7.3 (Aqua, 10.6) in credit
simulator. Enter 1000, press "calculate, and format will be corrected to
1.000,00.
Press calculate again, format will cause . beeing interpreted as decimal
delimiter, so next time, value is 1,00 Euro 

---------------------------------------------------------------------- 
 (0002805) gerald (administrator) - 2010-12-04 12:50
 http://grisbi.tuxfamily.org/mantis/view.php?id=1215#c2805 
---------------------------------------------------------------------- 
Please try to configure the decimal delimiter in the global preferences and try
again.
There is a bug when the ',' is used. The '.' is interpreted as decimal delimiter
too. 

---------------------------------------------------------------------- 
 (0002806) konqi (reporter) - 2010-12-06 07:11
 http://grisbi.tuxfamily.org/mantis/view.php?id=1215#c2806 
---------------------------------------------------------------------- 
There is no global decimal delimiter setting in 0.7.3aqua nor in 0.6.0x11
release.
Only the "thousand delimiter" setting can be toggled, but doesn't work for me.
The setting seems to be ignored.

With kind regards,
~Marcel 

---------------------------------------------------------------------- 
 (0002807) pbiava (administrator) - 2010-12-06 19:00
 http://grisbi.tuxfamily.org/mantis/view.php?id=1215#c2807 
---------------------------------------------------------------------- 
I do not see this problem with version 0.7.3 compiled the 08/24/2010. What
language do you use?

You must use version 0.7.92 or 0.7.93 to have the decimal point and the thousand
separator in the preferences 

---------------------------------------------------------------------- 
 (0002809) konqi (reporter) - 2010-12-07 12:50
 http://grisbi.tuxfamily.org/mantis/view.php?id=1215#c2809 
---------------------------------------------------------------------- 
as seen on Screenshot, it's a german user interface and I never had any option
to set this nor to toggle this..
The first "part" of the bug, regarding the issue in the screenshot is no longer
reproducable in DEV cause this function is just missing! (planned income tab for
an account)

The second one, regarding the new calculator is still active and valid for me!
See attached Screenshot-Series in the pdf file.

@development versions: what is the different between the Aqua-10.5, Aqua-10.6
releases?
for 10.6 only 0.7.3 is available, so I first used this. Above shots made with
your mentioned Grisbi-Aqua-0.7.93-20101127-10.5-i386 

---------------------------------------------------------------------- 
 (0002810) konqi (reporter) - 2010-12-07 12:55
 http://grisbi.tuxfamily.org/mantis/view.php?id=1215#c2810 
---------------------------------------------------------------------- 
for german users: decimal delimiter comma (,) but for thousand delimiter the .
setting would be fine.

As you can see, your setting is not used, the dot is displayed as thousand
delimiter indifferently if i set it to ' ' (whitespace?) or s.th. else.
I can toggle this setting in "the global settings" (which are not global for me
because saved with every account file) without any effects. 

---------------------------------------------------------------------- 
 (0002811) pbiava (administrator) - 2010-12-07 18:21
 http://grisbi.tuxfamily.org/mantis/view.php?id=1215#c2811 
---------------------------------------------------------------------- 
this version http://www.grisbi.org/download/Grisbi.app/devel/0.7.93/ is for Mac
OSX 10.6. 

---------------------------------------------------------------------- 
 (0002814) pbiava (administrator) - 2010-12-11 09:23
 http://grisbi.tuxfamily.org/mantis/view.php?id=1215#c2814 
---------------------------------------------------------------------- 
fixed in version 0.7.94 

---------------------------------------------------------------------- 
 (0002815) gerald (administrator) - 2010-12-11 09:28
 http://grisbi.tuxfamily.org/mantis/view.php?id=1215#c2815 
---------------------------------------------------------------------- 
No, it is not.
It is only when dot is selected as thousand separator. It isn't when the space
or nothing are selected. 

---------------------------------------------------------------------- 
 (0002823) konqi (reporter) - 2010-12-12 20:40
 http://grisbi.tuxfamily.org/mantis/view.php?id=1215#c2823 
---------------------------------------------------------------------- 
ok,

+ I can now set up "," as decimal del.. and "." as thousand del.
+ hitting calculate twice will no longer "reformat"
- entering "1.000" in calculator with above settings set, it will be reformatted
by hitting calculate to 1,00
(will "work" with exchanged del. settings too vice versa: 1,000 => 1.00)

Tested with Grisbi-Aqua-0.7.95-20101212.2-10.5-i386 

---------------------------------------------------------------------- 
 (0002827) gerald (administrator) - 2010-12-13 07:55
 http://grisbi.tuxfamily.org/mantis/view.php?id=1215#c2827 
---------------------------------------------------------------------- 
I confirm this issue in the credit simulator in the latest 0.7.96. 

---------------------------------------------------------------------- 
 (0002828) pbiava (administrator) - 2010-12-13 18:59
 http://grisbi.tuxfamily.org/mantis/view.php?id=1215#c2828 
---------------------------------------------------------------------- 
Fixes permanently I hope the management of point as thousands separator

Gerald can you check the version on git 

---------------------------------------------------------------------- 
 (0002830) gerald (administrator) - 2010-12-13 20:58
 http://grisbi.tuxfamily.org/mantis/view.php?id=1215#c2830 
---------------------------------------------------------------------- 
Yes it is.
I have made a new binary with this bugfix :
Grisbi-Aqua-0.7.96-20101213.2-10.5-i386.dmg
available on Sourceforge or http://www.grisbi.org/download/Grisbi.app/ 

---------------------------------------------------------------------- 
 (0002831) pbiava (administrator) - 2010-12-14 05:31
 http://grisbi.tuxfamily.org/mantis/view.php?id=1215#c2831 
---------------------------------------------------------------------- 
fixed in git 

---------------------------------------------------------------------- 
 (0002832) konqi (reporter) - 2010-12-14 11:10
 http://grisbi.tuxfamily.org/mantis/view.php?id=1215#c2832 
---------------------------------------------------------------------- 
Please note: error handling of invalid formattet values differs:
1.00,0.00 will be set to 1,00 in calculator but to 100,00 in account plan

But this is a minor, but maybe irrelevant difference. For me, it is quite
strange that the software seems to use different approaches to interpret
values.. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-03 22:25 konqi          New Issue                                    
2010-12-03 22:25 konqi          File Added: Bildschirmfoto 2010-12-03 um
23.01.46 Kopie.png                    
2010-12-04 09:04 gerald         Note Added: 0002803                          
2010-12-04 12:31 konqi          Note Added: 0002804                          
2010-12-04 12:50 gerald         Note Added: 0002805                          
2010-12-04 12:51 gerald         Assigned To               => pbiava          
2010-12-04 12:51 gerald         Status                   new => assigned     
2010-12-04 12:51 gerald         Status                   assigned => confirmed
2010-12-04 12:51 gerald         Project                  Grisbi.app X11 (Mac OS
X) => Grisbi
2010-12-06 07:11 konqi          Note Added: 0002806                          
2010-12-06 19:00 pbiava         Note Added: 0002807                          
2010-12-06 19:02 pbiava         Project                  Grisbi =>
Fonctionnalités demandées
2010-12-07 12:50 konqi          Note Added: 0002809                          
2010-12-07 12:51 konqi          File Added: grisbiShots.pdf                    
2010-12-07 12:55 konqi          Note Added: 0002810                          
2010-12-07 18:18 pbiava         Project                  Fonctionnalités
demandées => Grisbi-0.6.0
2010-12-07 18:21 pbiava         Note Added: 0002811                          
2010-12-11 09:20 pbiava         File Deleted: Bildschirmfoto 2010-12-03 um
23.01.46 Kopie.png                    
2010-12-11 09:23 pbiava         Plateforme                => Linux           
2010-12-11 09:23 pbiava         OS                        => Autre(Other)    
2010-12-11 09:23 pbiava         Unstable Impact           => Yes             
2010-12-11 09:23 pbiava         Note Added: 0002814                          
2010-12-11 09:23 pbiava         Status                   confirmed => resolved
2010-12-11 09:23 pbiava         Fixed in Version          => git
(développement)
2010-12-11 09:23 pbiava         Resolution               open => fixed       
2010-12-11 09:28 gerald         Note Added: 0002815                          
2010-12-12 20:40 konqi          Note Added: 0002823                          
2010-12-12 20:40 konqi          Status                   resolved => feedback
2010-12-12 20:40 konqi          Resolution               fixed => reopened   
2010-12-13 07:55 gerald         Note Added: 0002827                          
2010-12-13 18:59 pbiava         Note Added: 0002828                          
2010-12-13 20:58 gerald         Note Added: 0002830                          
2010-12-14 05:31 pbiava         Note Added: 0002831                          
2010-12-14 05:31 pbiava         Status                   feedback => resolved
2010-12-14 05:31 pbiava         Resolution               reopened => fixed   
2010-12-14 11:10 konqi          Plateforme               Linux => Mac OS     
2010-12-14 11:10 konqi          Note Added: 0002832                          
2010-12-14 11:10 konqi          Status                   resolved => feedback
2010-12-14 11:10 konqi          Resolution               fixed => reopened   
======================================================================



More information about the bugsreports mailing list