[Calculator app] Change of sign operation only works from the second operand onwards
Bug #1210082 reported by
David Planella
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Calculator App |
Fix Released
|
Low
|
Riccardo Padovani | ||
Ubuntu UX |
Fix Released
|
Undecided
|
Christina Li |
Bug Description
The +/- key seems to have effect only from the second operand onwards in a calculation.
Steps to reproduce:
1. Start a calculation entering 8
2. Press the +/- key
3. Add a new operand to do a sum: press + 5
4. Press the +/- key
5. Press the = key
Actual result:
- The result is 3 (i.e. the +/- keypress in step 2. didn't change the sign of the first operand)
Expected result:
- The result is -13
Related branches
lp:~rpadovani/ubuntu-calculator-app/plusminus
- Gustavo Pichorim Boiko (community): Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
- Mihir Soni: Approve
-
Diff: 553 lines (+213/-94)5 files modifiedSimple/CalcKeyboard.qml (+68/-18)
Simple/Screen.qml (+4/-0)
Simple/SimplePage.qml (+32/-8)
formula.js (+51/-6)
tests/autopilot/ubuntu_calculator_app/tests/test_simple_page.py (+58/-62)
Changed in ubuntu-calculator-app: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in ubuntu-calculator-app: | |
status: | Triaged → In Progress |
assignee: | nobody → Riccardo Padovani (rpadovani) |
summary: |
- Change of sign operation only works from the second operand onwards + [Calculator app- July 2013] Change of sign operation only works from the + second operand onwards |
Changed in ubuntu-ux: | |
assignee: | nobody → Christina Li (christina-li) |
status: | New → Fix Committed |
tags: | added: calculator-app-july-2013 |
summary: |
- [Calculator app- July 2013] Change of sign operation only works from the - second operand onwards + [Calculator app] Change of sign operation only works from the second + operand onwards |
Changed in ubuntu-calculator-app: | |
assignee: | Riccardo Padovani (rpadovani) → Mihir Soni (mihirsoni-123) |
Changed in ubuntu-calculator-app: | |
assignee: | Mihir Soni (mihirsoni-123) → Riccardo Padovani (rpadovani) |
Changed in ubuntu-calculator-app: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-ux: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:ubuntu-calculator-app at revision 157, scheduled for release in ubuntu- calculator- app, milestone alpha-1