-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
Pressing AltGr+< on a Finnish keyboard layout produces some kind of letter i instead of the pipe character #2560
Comments
|
2020-01-22 17:24:49: antoine uploaded file
|
Keyboard layout confirmed as (without the blue keys) |
Testing in my win10 VM connecting to a Fedora 31 server, after adding a new keyboard layout and all the keys do show up, though the client shows some warnings parsing the keysyms we get from GTK:
Let's fix that too. As for the missing characters with your setup, there must be something different. |
2020-01-23 02:11:30: akikoo commented
|
For correct layout detection, it seems that we need to use GetKeyboardLayoutName, definition added in r25046. |
@akikoo: does the latest win32 beta build work for you: [https://xpra.org/beta/windows/]. (try r25052 or later builds from there) Could be improved further to handle variants: #2561. Tested OK with 'French', 'German', 'UK', and 'Finnish' layouts and detection worked in all cases. |
For the record, here's what I get on windows 10 when I connect with a Finnish layout:
|
OK, so the first part is confirmed as fixed and we detect the 'Finnish' keyboard correctly on MS Windows 10. (not going to worry about win7) Next, the pipe
But it also triggers a spurious
(not sure why we got keycode 204 there... will investigate later)
And we choose 31 instead of 94.
This is the important part:
The level is correct: 2 for Fixed in r25057. This is a server side fix. Still TODO:
|
Here's what the newer servers should print with
Other fixes:
|
2020-01-24 15:33:40: akikoo commented
|
Thank you for your patience!
That's the fall-through code. We end up there because your key event doesn't have the group set:
Whereas mine did (group=1). So r25073 will try harder to find a matching keycode, matching just the "shift" state, if that's the best we can find, before finally using the fall-through case. There are updated Fedora builds in the beta area: https://xpra.org/beta |
More keyboard layout related fixes:
|
2020-01-25 06:42:24: akikoo commented
|
This may help with #2301, see also #2574. |
Issue migrated from trac ticket # 2560
component: keyboard | priority: minor | resolution: fixed | keywords: windows 10, pipe char, altgr
2020-01-22 16:28:24: akikoo created the issue
The text was updated successfully, but these errors were encountered: