You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The delete key (on the UI and on the keyboard) does not work after entering in a number, pressing the right bracket, then clicking delete. Even after making the brackets match, the delete button will not work (even if the input shows as (7)) until the display is cleared.
Describe the bug
Steps To Reproduce
Open Calculator
Open Programmer mode
Select HEX mode (anything other than binary)
Type the digit 7
Press the right bracket )
Press delete on your keyboard or in the UI. Nothing will delete.
Click the left bracket (
Click the right bracket ). The input will now show as (7)
Click delete. Nothing will delete, even though the input is valid. Even trying to re-parenthesize the input will not fix it.
Additionally, after doing something I was unable to reproduce, entering another digit was ignored until I pressed it twice.
Expected behavior
The calculator should be able to delete the digit.
Screenshots
Device and Application Information (please complete the following information):
OS Build: 10.0.17763.0
Architecture: X64
Application Version: 10.1902.42.0
Additional context
If I go into Scientific mode, then press the PI button, the delete key will not work.
The text was updated successfully, but these errors were encountered:
alexyorke
changed the title
Delete key stops working in programmer mode if right bracket is clicked before clicking left bracket, even if brackets match
Delete key stops working in programmer mode if left bracket is clicked first
Apr 3, 2019
) is considered as a "end-of-operand" even if no ( exists
the calculator only allows you to delete digits, not operators.
In the first case, IMO the calculator should ignore the ) and allow users to continue to edit the current operand.
In the second case, it's a little more complicated, the limitation is not only with parenthesis, but with all operators, if you type 2323 + 1 you will be allowed to only delete the 1. This is how basic (physical) calculators work, but I agree, this limitation can probably be changed.
This behavior is currently by design based on how Calculator handles input. However, I agree this is not the best experience. I believe #519 covers the "fix" for this, so closing this as a duplicate of that. If I am mistaken, and you think this might be different, we can consider reopening this.
The delete key (on the UI and on the keyboard) does not work after entering in a number, pressing the right bracket, then clicking delete. Even after making the brackets match, the delete button will not work (even if the input shows as
(7)
) until the display is cleared.Describe the bug
Steps To Reproduce
)
(
)
. The input will now show as(7)
Expected behavior
The calculator should be able to delete the digit.
Screenshots
Device and Application Information (please complete the following information):
Additional context
If I go into Scientific mode, then press the PI button, the delete key will not work.
The text was updated successfully, but these errors were encountered: