[English version] Backspace key does not delete mistyped operator(s)
Describe the bug
If I typed a number like $345$ and mistype / instead of *, and try to delete mistyped operator '$\div$', It will not delete.
Steps To Reproduce
- Type a number like $345$.
- Type /
- If you press Backspace, it will not delete the operator '$\div$' AT ALL!
Expected behavior
Deletes the mistyped operator.
Screenshots
No screenshots available.
Device and Application Information
- OS Build: 10.0.26100.0
- Architecture: X64
- Application Version: 11.2502.2.0
- Region: ko-KR
- Dev Version Installed: False
Additional context
Please fix this bug. I made this issue for you to understand #2356 .
Requested Assignment
I'm just reporting this problem. I don't want to fix it.
Thanks for reporting!
I reproduced the issue and it appears the Backspace command doesn't update the expression parser when the last input is an operator.
Possible cause:
IsLastKeyOperator() returns false because operators like / are immediately converted to ÷ and placed outside the editable buffer.
Expected behavior:
- Backspace should remove the operator and revert calculator to numeric input state.
Suggested fix direction:
- Update expression handling so the operator symbol is registered in the input stack.
- Ensure Backspace action triggers
RemoveLastToken()even when the last token type is Operator.
I'd be happy to explore a fix if allowed. Please assign.