[Calculator app] Equals should cancel previous operators and return result
Bug #1155277 reported by
Alan Pope πΊπ§π± π¦
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Calculator App |
Fix Released
|
Medium
|
Riccardo Ferrazzo | ||
Ubuntu UX |
Fix Committed
|
Medium
|
Christina Li |
Bug Description
Type the following:-
1 + 2 + 3 + =
I'd expect to get 6, but I get 0.
Related branches
lp:~f-riccardo87/ubuntu-calculator-app/calculation-results
- Dalius (community): Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
-
Diff: 61 lines (+15/-4)2 files modifiedSimple/SimplePage.qml (+15/-3)
engine.js (+0/-1)
Changed in ubuntu-calculator-app: | |
importance: | Undecided → Medium |
assignee: | nobody → Riccardo Ferrazzo (f-riccardo87) |
assignee: | Riccardo Ferrazzo (f-riccardo87) → nobody |
Changed in ubuntu-calculator-app: | |
assignee: | nobody → Riccardo Ferrazzo (f-riccardo87) |
status: | New → In Progress |
Changed in ubuntu-calculator-app: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-ux: | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
Further to this (probably related, so I'm not filing a new bug). There is an expectation that pressing = more than once will repeat an operation.
So:-
1 + 2 = should return 3
1 + 2 == should return 5
1 + 2 = = = should return 7
etc.