Need to enter an operand before using an operator
Bug #1210873 reported by
Mihir Soni
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Calculator App |
Fix Released
|
Medium
|
Mihir Soni |
Bug Description
Expected behaviour:
- The user needs to enter an operand (e.g. 5) before an operator (e.g. +)
Current behaviour:
- The user can enter any operators (e.g. +, *, /) before entering any operand (e.g. 5). They'll just display on the screen without doing any function
Steps to reproduce:
1. Start the calculator app
2. Click on (+) or (*) or (-)
Related branches
lp:~mihirsoni/ubuntu-calculator-app/1210873
- David Planella: Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
- Gustavo Pichorim Boiko (community): Needs Fixing
- Mihir Soni: Pending requested
-
Diff: 75 lines (+37/-7)3 files modifiedSimple/SimplePage.qml (+12/-7)
formula.js (+5/-0)
tests/autopilot/ubuntu_calculator_app/tests/test_simple_page.py (+20/-0)
Changed in ubuntu-calculator-app: | |
status: | New → Incomplete |
status: | Incomplete → Opinion |
status: | Opinion → New |
tags: | added: dev |
tags: |
added: development removed: dev |
Changed in ubuntu-calculator-app: | |
assignee: | nobody → Mihir Soni (mihirsoni-123) |
summary: |
- Operands without any calculations + Need to enter an operand before using an operator |
description: | updated |
Changed in ubuntu-calculator-app: | |
status: | Confirmed → Triaged |
importance: | Undecided → Medium |
Changed in ubuntu-calculator-app: | |
status: | Triaged → In Progress |
Changed in ubuntu-calculator-app: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
- should do something. All other calculators let you enter negative numbers by starting the calculator and typing "-3" for example.
Technically it's starting with 0 on the display but we don't show it. So typing "+3" from cold is fine too.