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
If typing a keypad key makes a compose sequence invalid, try regular key instead #224
Comments
I did submit a merge request for xorg to improve the Compose file to add the missing orders which should then result in the same behaviour for the keypad keys and the regular keys: https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/82 https://lists.x.org/archives/xorg-devel/2021-August/058743.html |
Only one response so far: https://lists.x.org/archives/xorg-devel/2021-August/058744.html Doesn’t seem to like my improvement ☹ |
On top of that, my merge request missed a few sequences like these for example:
I think these should also work with |
I implemented:
This is certainly quite helpful and better than immediately stopping the compose sequence as invalid. And it still observes what is written in the compose to the letter, so are still some minor differences in the behaviour of keypad keys and “normal” keys if the compose file makes a distinction. For example:
But:
|
I.e. one starts typing But the possible 3rd keysyms are not equal for the sequences starting with That means that for example It also means that it is still possible to define |
I am considering treating the keypad keys and “normal” keys as if they were exactly the same thing. If I do that, there would be no difference between Therefore, I won’t do that at the moment, still thinking whether this is a good idea or not to treat these as exactly equal always. My current improvement still prefers what is in the Compose file if the exact sequence is there but helpfully tries to continue with the replacement keysym if the exact sequence cannot be found. I think that is quite helpful already, good enough maybe, still giving the contents of the Compose file the final authority. |
…lence pair I forgot these in this commit: commit 61b8c33 Author: Mike FABIAN <mfabian@redhat.com> Date: Fri Aug 20 21:10:21 2021 +0200 If a keypad key makes compose sequence invalid, try sequence with regular keys instead Resolves: #224 (And also the other way round, if a regular key makes a compose sequence invalid, try the matching keypad key instead)
This is nonsense, why should the user care whether to use slash or
KP_Divide and why should there be such subtle differences?
If
<Multi_key> <slash> <O>
and<Multi_key> <O> <slash>
both work and produce the same result, then it makes no sense that when using KP_Divide instead of slash, only<Multi_key> <KP_Divide> <O>
works but<Multi_key> <O> <KP_Divide>
does not.The text was updated successfully, but these errors were encountered: