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

Editor widget does not handle '.'/'del' key on numeric keypad correctly. #2509

Closed
4 tasks done
shartrec opened this issue Jul 19, 2024 · 1 comment · Fixed by #2514
Closed
4 tasks done

Editor widget does not handle '.'/'del' key on numeric keypad correctly. #2509

shartrec opened this issue Jul 19, 2024 · 1 comment · Fixed by #2514
Labels
bug Something isn't working

Comments

@shartrec
Copy link
Contributor

Is your issue REALLY a bug?

  • My issue is indeed a bug!
  • I am not crazy! I will not fill out this form just to ask a question or request a feature. Pinky promise.

Is there an existing issue for this?

  • I have searched the existing issues.

Is this issue related to iced?

  • My hardware is compatible and my graphics drivers are up-to-date.

What happened?

If you have an Editor widget, then the "decimal point" on the numeric keyboard acts as the "del" key whether numlock is on or off.

You can see this in the Editor example from https://github.com/iced-rs/iced/tree/master/examples/editor.

Run: cargo run --package=editor and type anywhere using the numeric keypad to see this behaviour. This also occurs in my application.

What is the expected behavior?

The "decimal point" key on the numeric keypad should enter a "." when numlock is on.

Version

master

Operating System

Linux

Do you have any log output?

No response

@shartrec shartrec added the bug Something isn't working label Jul 19, 2024
@shartrec
Copy link
Contributor Author

Text_input does NOT show this behaviour. Tested with https://github.com/iced-rs/iced/tree/master/examples/todos

hecrj added a commit that referenced this issue Sep 12, 2024
#2509 Handle number pad del key correctly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant