-
Notifications
You must be signed in to change notification settings - Fork 53
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
Characters requiring Alt do not work #311
Comments
A possible fix would be to make the whole algorithm less opportunistic, i.e., identify the key combinations including their modifier and let the unprocessed keys combinations to be handled as characters if there is no match 🤔 . |
Out of curiosity, are you using a Czech keyboard? I'm shocked you discovered this 😆 |
No, I was just trying different keyboards all day long, it is such a great fun 😆 ...Kidding, yes, I am using Czech keyboard, even for programming 😯 🤭 , I cannot change it to English, I have tried, but I cannot 😅 . Even when it is sometimes almost literally painful, like using Alt+B/N for braces 🫠 |
Another option is to move processing of most of the keys from |
@najlkin, is this issue under Windows with WSL? Do I understand you correctly that If that is the case, the use of It does seem strange that you cannot add English keyboard layout in Windows when you are using a Czech keyboard. With a standard English keyboard, you can add keyboard layouts for other languages. |
@v-dobrev , the problem is general, not specific to a platform. It happens under WSL and I just tested also for the native Windows GLVis. It is also not specific to a layout, Alt is often used for different symbols with different layouts. The case with I was primarily mentioning I checked that Alt handling worked for me in #288 before the merge of #294 , so it is: handling of Alt combinations with a/c on Mac vs. unknown number of broken key combinations with various layouts 😏 . That is not a great deal. I can switch the layout, but this is not about it. We never asked users to do that and things worked before... |
Ok, I opened #316 for the first possible solution. If Left Alt vs. Right Alt behavior works everywhere, it is fine, I guess 🤔 . Please test it. |
Solved in #316 . |
Some characters like backslash '\' require Alt to be pressed with some keyboard layouts (with Czech it is Alt+Q). This does not work since the merge of #294 , because Alt combinations are handled separately before translation to characters. The functions handling the key presses then ignore the modifier, so it is interpreted as 'q' and closes the window instead of setting the light source 😄 .
❓ This bug was introduced in #294
The text was updated successfully, but these errors were encountered: