You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve the key events sent from the embedders to Servo #20331
Would that make sense to have the embedders do themselves the mapping from their input stack to DOM Keys instead? The other option would be to add keys to the current enum, but that doesn't seem very scalable.
It does seem like a good idea to define Servo's key types in terms of what web standards describe and require embedders to communicate with Servo using those keys.
Do DOM key events cover enough to print all that is needed for an IME?
I'm thinking about Chinese characters, or dead keys combo. For example when I type: Option+e a, I see an accented underscore which is then replaced by á,or ni1 in Pinyin will show ni underscored then replaced with 你, or pressing lll Return will show 丿丿丿 then be replaced by彡 with a chinese keyboard. Also, navigating the temporary string with arrow keys is controlled by the input method. I'm wondering if this is all covered by https://w3c.github.io/uievents-key/#keys-composition
Yes, what we really need is full composition support. showIME/hideIME are needed just to trigger the virtual keyboard, and then we need something similar to Gecko's nsITextInputProcessor.
@neimsaci Pretty sure there is no one working on this issue.
I would really appreciate if the key events are more correctly handled. However a word of caution: it involves quite a few different systems and can be a challenging issue.
Activity
jdm commentedon Mar 18, 2018
It does seem like a good idea to define Servo's key types in terms of what web standards describe and require embedders to communicate with Servo using those keys.
paulrouget commentedon Mar 19, 2018
Absolutely.
modal17 commentedon Apr 2, 2018
May I look into this?
paulrouget commentedon Apr 4, 2018
@modal17 absolutely. Let me know if you have any questions.
paulrouget commentedon Aug 8, 2018
Do DOM key events cover enough to print all that is needed for an IME?
I'm thinking about Chinese characters, or dead keys combo. For example when I type:
Option+e a, I see an accented underscore which is then replaced byá,orni1in Pinyin will showniunderscored then replaced with你, or pressinglll Returnwill show丿丿丿then be replaced by彡with a chinese keyboard. Also, navigating the temporary string with arrow keys is controlled by the input method. I'm wondering if this is all covered by https://w3c.github.io/uievents-key/#keys-compositionfabricedesre commentedon Aug 8, 2018
Yes, what we really need is full composition support. showIME/hideIME are needed just to trigger the virtual keyboard, and then we need something similar to Gecko's nsITextInputProcessor.
pyfisch commentedon Sep 29, 2018
I am working on this. It mostly works. I just need to refactor the built-in keyboard shortcuts.
Use keyboard-types crate
Use keyboard-types crate
Auto merge of #21881 - pyfisch:keyboard-types, r=<try>
Use keyboard-types crate
3 remaining items
Use keyboard-types crate
Use keyboard-types crate
Use keyboard-types crate
Use keyboard-types crate
Auto merge of #21881 - pyfisch:keyboard-types, r=<try>
Use keyboard-types crate
Auto merge of #21881 - pyfisch:keyboard-types, r=<try>
Auto merge of #21881 - pyfisch:keyboard-types, r=<try>
Auto merge of #21881 - pyfisch:keyboard-types, r=<try>
Auto merge of #21881 - pyfisch:keyboard-types, r=paulrouget
thumbpr commentedon May 4, 2022
Hi I would like to try, is someone already working?
pyfisch commentedon May 6, 2022
@neimsaci Pretty sure there is no one working on this issue.
I would really appreciate if the key events are more correctly handled. However a word of caution: it involves quite a few different systems and can be a challenging issue.
Gae24 commentedon Jul 26, 2024
What's missing to close this issue?
mrobinson commentedon Jul 30, 2024
Yeah, I think this is finished.