Ticket #1903 (closed defect: fixed)
OLPC-Calculate Activity – Cannot enter negative values to the entry box.
| Reported by: | Niranjala80 | Owned by: | rwh |
|---|---|---|---|
| Priority: | Normal | Milestone: | Unspecified by Release Team |
| Component: | Calculate | Version: | Unspecified |
| Severity: | Minor | Keywords: | |
| Cc: | Distribution/OS: | Unspecified | |
| Bug Status: | New |
Description
Description:
Press (-) to begin a new number entry after a previous calculation was done.
For instance,
User enters the following to the entry box.
1+2
The answer, User got is:
3
Click on the entry box.
Press negative (-) sign.
It displayed as 3- on the entry box.
The entry box should display the negative sign.
Steps to recreate the defect:
Precondition
User should be in the Calculator Activity
1. Power on OLPC
2. Click on the calculate icon on home page.
3. Enter whatever calculation to the entry box.
4. Click on Entry button.
5. Get the result on the right side box.
6. Click on entry box
7. Press negative sign (-).
8. Verify the displayed value on the entry box.
Actual Result:
Cannot enter negative values to the entry box and user enters, it is displaying the value as follows in the entry box. (Previous calculation result used.)
Eg: 3-
Expected Result:
Entry of negative number should be allowed and it should display properly in the entry box.
Tested Environment:
OS Build: OS 13
Machine Type: XO 1.0
Firmware: Q2E42
Security Disable: Yes
Sugar Version: 0.84.14
Activity Version: 30
