Editor widget does not handle '.'/'del' key on numeric keypad correctly.
shartrec opened this issue · comments
Trevor Campbell commented
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
Trevor Campbell commented
Text_input does NOT show this behaviour. Tested with https://github.com/iced-rs/iced/tree/master/examples/todos