Bug 280362

Summary: Skrooge is not accepting dots or commas
Product: [Applications] skrooge Reporter: Kristian Gomes <kristiang>
Component: generalAssignee: Stephane MANKOWSKI <stephane>
Status: RESOLVED FIXED    
Severity: normal CC: stephane
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Form field where the erro occurs

Description Kristian Gomes 2011-08-18 16:50:12 UTC
Created attachment 62956 [details]
Form field where the erro occurs

Version:           unspecified
OS:                Linux

After upgrade to version 0.9.1, Skrooge is not accepting dots or commas for number in operation transactions. For sample I'm trying set a new expense of 10,80 (or 10.80) in one of my account (the error can be reproduced in any accounts) and the software is automatically converting the value to '1080'.

Reproducible: Always

Steps to Reproduce:
try to insert a new expense with dots or commas (U$ 10.80 or R$ 24,50) in a bank account and the error will appears.

Actual Results:  
the program is converting the 10.80 and 24,50 values to 1080 and 2450 automatically.

Expected Results:  
the software should accept the entrance of 10.80 or 24,50 value in a new transaction.

OS: Linux (i686) release 2.6.35-30-generic
Distro: Ubuntu 10.10 32Bits updated
Compiler: cc
Comment 1 Stephane MANKOWSKI 2011-08-18 19:40:11 UTC
Hi,

This problem occurs only when the decimal separator=thousand separator="."
One workaround is to change the thousand separator by an other character.

I will correct it.
Comment 2 Stephane MANKOWSKI 2011-08-18 19:56:50 UTC
Git commit c94af69496d6ec39776c534c3ad09518c7481e2c by Stephane Mankowski.
Committed on 18/08/2011 at 21:56.
Pushed by smankowski into branch 'Feature'.

BUG:280362: Skrooge is not accepting dots or commas

M  +3    -3    plugins/generic/skg_undoredo/skgundoredoplugindockwidget.cpp
M  +2    -2    CMakeLists.txt
M  +5    -4    skgbasegui/skgcalculatoredit.cpp
M  +5    -0    CHANGELOG

http://commits.kde.org/skrooge/c94af69496d6ec39776c534c3ad09518c7481e2c
Comment 3 Kristian Gomes 2011-08-18 22:56:05 UTC
Hi Stephane!

In the version 0.9.0 all were working fine. This issue began after the
update to version 0.9.1. I'm planning a downgrade today to fix this
matter for now.

Thanks for the support,
Kristian.



On 18-08-2011 16:40, Stephane MANKOWSKI wrote:
> https://bugs.kde.org/show_bug.cgi?id=280362
>
>
> Stephane MANKOWSKI <stephane@mankowski.fr> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |ASSIGNED
>          AssignedTo|guillaume.debure@gmail.com  |stephane@mankowski.fr
>      Ever Confirmed|0                           |1
>
>
>
>
> --- Comment #1 from Stephane MANKOWSKI <stephane mankowski fr>  2011-08-18 19:40:11 ---
> Hi,
>
> This problem occurs only when the decimal separator=thousand separator="."
> One workaround is to change the thousand separator by an other character.
>
> I will correct it.
>
Comment 4 rpbsant 2012-01-10 02:54:36 UTC
Hi

Trying 1.0.0 version on Debian Wheezy, and the problem persists.

Ricard
Comment 5 Stephane MANKOWSKI 2012-01-10 20:28:37 UTC
(In reply to comment #4)
> Hi
> 
> Trying 1.0.0 version on Debian Wheezy, and the problem persists.
> 
> Ricard

Could you tell me what are you KDE settings (launch systemsettings) for decimal separator and thousand separator?