Calculator app giving invalid results after modifying manually an intermediate one
Bug #1226689 reported by
Francisco Merino
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Calculator App |
Fix Released
|
Medium
|
Francisco Merino |
Bug Description
I'm not used to be able to modify manually a given result but, in this calculator app it seems as a valid behaviour. However, if you do this and then apply some operators to that manually modified value, bad things start to happen.
Steps to reproduce:
1. Start the calculator app
2. Calculate the result of 5 + 5
3. Modify manually the given result, 10, appending '.5' at the end of the line
4. Subtract 0.5 from that value (10.5)
Actual result:
- 4.5
Expected result:
- 10
Related branches
lp:~franxesk/ubuntu-calculator-app/calculation-fixes
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
- Riccardo Padovani: Approve
- Mihir Soni: Approve
-
Diff: 35 lines (+17/-1)1 file modifiedformula.js (+17/-1)
Changed in ubuntu-calculator-app: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in ubuntu-calculator-app: | |
assignee: | nobody → Francisco Merino (franxesk) |
Changed in ubuntu-calculator-app: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Desidered solution:
- users can't modify manually a result