Summary: | Split with almost 0 operation | ||
---|---|---|---|
Product: | [Applications] skrooge | Reporter: | vicnet <vo.publique> |
Component: | general | Assignee: | Stephane MANKOWSKI <stephane> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | stephane |
Priority: | NOR | ||
Version: | 1.12 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/skrooge/42a98568b41da24e4ce01484d7e1db19c497f73e | Version Fixed In: |
Description
vicnet
2015-05-31 09:49:03 UTC
Hi vicnet, A new line is created in split panel ONLY when the amount of the last line is modified. This new line is created with amount=global amount-SUM(amount of all other split). So, the scenario I can see is this one: 1-Create an operation with amount=10 2-Open split panel 3-Modify amount of 1st split to 6 ==> a new split is created with amount =4 4-Modify amount of 1st split to 10 ==> the amount of last split is modified to 0 Sometimes, due to error in computation the 0 can be displayed 1e-14. What do you think of this scenario? Is it aligned with your feeling? Hi Vicnet, Do you have an answer? Regards. I found a way to reproduce it every time: 1) enter global: -10.57 2) split with -5.48, -5.08 => creation of operation 0.01 3) correct 5.08 to 5.09 => the last operation is automatically modified from 0.01 to 1E-16 It should be deleted Something similar: global 10, split 5 and 5, correct first 5 to 10 last operation set to 0 instead removed. Git commit 42a98568b41da24e4ce01484d7e1db19c497f73e by Stephane Mankowski. Committed on 09/06/2015 at 20:28. Pushed by smankowski into branch 'kf5'. Split with almost 0 operation M +1 -0 CHANGELOG M +10 -3 plugins/skrooge/skrooge_operation/skgoperationpluginwidget.cpp http://commits.kde.org/skrooge/42a98568b41da24e4ce01484d7e1db19c497f73e |