Details
-
Sub-task
-
Resolution: Done
-
P4: Low
-
None
-
All
-
e7918dc929d2a65213906aa8cb2525ff707fed63
Description
1. Launch QMLViewer and load calculator.qml
2. Enter 0.56789, then press the division button and enter 7453.0145
3. The result of the division operation is displayed in the display box (elided)
4. Enter another number by pressing the digit buttons
Expected result:
Other digits can be entered and displayed in the display box
Actual result:
Nothing happens after digit buttons being pressed. The display box can only be cleared by pressing "C" button or "AC" button.
The calculator/Core/calculator.js:24 returns on a number pressed && display length is >= 14. In the event of a result being > 13 characters, the input is blocked.