Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typing the most negative number by numpad not possible #1541

Open
kezyr opened this issue May 12, 2021 · 7 comments · May be fixed by #2035
Open

Typing the most negative number by numpad not possible #1541

kezyr opened this issue May 12, 2021 · 7 comments · May be fixed by #2035
Labels
Area: User Experience Issue primarily affects end user experience and are not covered by other areas Bug Issue is a bug help wanted Issues identified as good community contribution opportunities Pri: 2 triage approved Issue has been approved by Calculator team member

Comments

@kezyr
Copy link

kezyr commented May 12, 2021

Hello, steps to reproduce:

  • Switch to programmers mode (Alt+3)
  • Switch number size to BYTE
  • Now it is not possible to just simply enter a value -128 by numeric keyboard.

I am programmer and I found out reasons why it is not possible. You binded a minus input with an operation minus and then expecting a positive value which +128 is not valid. But your focus should be to user experience and I as a user started typing negative value -128. And it really should be possible to just enter a simple number like -128 which is in hexa 0x80 fully valid number.

@MicrosoftIssueBot
Copy link
Collaborator

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.

@grochocki
Copy link
Contributor

Thanks for the bug report! Agree with you here, and similar to #1311, this feels like a case where we should be smarter about the - key when it is the first button pressed. This is also not limited to Programmer mode, but for all "first" inputs across standard, scientific, and programmer modes.

@grochocki grochocki added Area: User Experience Issue primarily affects end user experience and are not covered by other areas Bug Issue is a bug help wanted Issues identified as good community contribution opportunities Pri: 2 triage approved Issue has been approved by Calculator team member and removed triage needed labels May 25, 2021
@sourabh112
Copy link

Can I take on this issue( If it is not too difficult for a newbie)?
As I'm quite new to this so I might also need some guidance on where should I start.

@hanzhang54
Copy link
Contributor

Can I take on this issue( If it is not too difficult for a newbie)?
As I'm quite new to this so I might also need some guidance on where should I start.

Of course! We'd really appreciate any effort on the Calculator project! ❤

@sourabh112
Copy link

Hi @hanzhang54, I successfully recreated this issue. After reading issue #1311, I found a workaround. If we use the "+/-" key instead of the "-" key we can write -128.
I thought of a solution for this particular issue, that will not solve the other issue but will improve UX. When we type "-" in an empty input box then it will be considered as "+/-" instead of the "-" or subtraction sign.
Implementing this might be a bit difficult while making sure no other feature breaks. But I think I can do this if you allow me to. Also Can you please tell me the files that belong to this problem? That will be of great help.

@GauravB159
Copy link

GauravB159 commented Nov 8, 2022

@sourabh112 Are you still working on this issue? Otherwise, I'd like to try it out, I'm new to open source as well

@sourabh112
Copy link

@GauravB159 No, you can go ahead and work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: User Experience Issue primarily affects end user experience and are not covered by other areas Bug Issue is a bug help wanted Issues identified as good community contribution opportunities Pri: 2 triage approved Issue has been approved by Calculator team member
Projects
None yet
6 participants