-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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?
- Use Neo2 Keyboard Layout (or probably any other with named keys on higher layers)
- Run editor example
- In texteditor widget Arrow-Keys, Del, Backspace, Pos1, End ... from layer 4 of the Keyboard do not work.
What is the expected behavior?
The expected behavior for the cursor is to move according to the Arrow-Keys and delete characters with Del or Backspace.
The problem was introduced in 9600954 by checking only baselayer keys for shortcuts.
In 94c8b96 a modified_key got introduced that would work but it is not used in the widgets.
There are two easy solutions for that:
Either use the modified_key in the shortcuts
or revert behavior and make modified_key the default and the baselayer key the special case.
I prefer the second one. I think key should match the output of something like the wev app.
I tried to get opinions here so i can just make a PR with the preferred solution but it is pretty silent over there.
Version
master
Operating System
Linux
Do you have any log output?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working