https://bugs.kde.org/show_bug.cgi?id=389867

            Bug ID: 389867
           Summary: Amount Input Changes Value Prematurely
           Product: skrooge
           Version: 2.10.0
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: guillaume.deb...@gmail.com
          Reporter: restouf...@gmail.com
                CC: steph...@mankowski.fr
  Target Milestone: ---

When inputting an amount for a transaction, I sometimes am copying that value
from another window. If I am entering a transaction for $110.51, for example, I
may write "110." in Skrooge's Amount field, and then switch to the other window
to check how many cents to enter. When I come back, the decimal point at the
end of my amount has been erased because Skrooge automatically cleans up
entered values as soon as the Amount field looses focus. This also means if I
enter an equation, such as 8.21 + 2.13, and I change focus after typing the
plus sign, the Amount will be shown as a red error.

I have learned to work around this by not typing in the decimal sign or any
trailing zeros if I know I will need to change focus, but it's not ideal.

Here are a few options that I feel would work better:

 * Turn off automatic changes to amounts, and show an error if  I try to save
an operation where the amount cannot be recognized
 * Delay the automatic calculation of the Amount field until "Add" or "Modify"
is pressed
 * Delay the automatic calculation of the Amount field until another field in
Skrooge receives focus
 * Recognize values that may be incomplete and do not alter them. I'd be fine
with them showing up as red like the incomplete equations.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to