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
Keyboard mapping mismatch with connection from Android to Debian Wayland #5193
Comments
tracked by #3565 |
I ran into #2798 error while connecting android/mac -> debian 12 kde plasma wayland. Xfce working. I will try to reproduce this keyboard mapping issue on gnome wayland soon. Reproduced in android -> debian gnome wayland, working on it. |
This comment can be ignored. kde wayland is working for me now. |
Found solution for these 2:
Reproduced on ios too.
So I have added a shift key simulation like a physical keyboard for those characters which are not available in evdev mappings, inside of else block below this line Line 346 in c5a864e
with this shift key simulation, the virtual keyboard characters are turning into physical keyboard events. I tried it for capital letters and a few special characters. Wondering if there's any other better solution.
Also, for this no clue yet. Since its using physical keyboard only combinations. |
@sahilyeole Maybe you can try the following methods:
rustdesk/flutter/lib/models/input_model.dart Line 137 in c5a864e
But Wayland does not enable an input method engine (IME) by default, you may need to install one and then https://en.opensuse.org/SDB:Enable_input_method_in_Wayland I'm not sure if Uinput is not necessary if Xwayland can be used. You may need more tests. |
Please test the latest nightly build |
The today's nightly release is working fine to me (Windows 10 => Android 13 phone) |
Bug Description
There is a keyboard mapping mismatch bug with rustdesk 1.2.1 when connect from Android to Debian Wayland.
This issue does not affect Android to Debian X11.
Examples:
It seems to be that the virtual keyboard keys are mapped as keys from a hardware keyboard and no translation support is given. Using the virtual keyboard like a hardware keyboard is not sufficient, because it uses sub pages and is missing many keys on the main page.
How to Reproduce
Running rustdesk service on Debian 12 or Testing system using Wayland with KDE. Running rustdesk client on Android 13.
Expected Behavior
Android virtual Keyboard is translated in the correct way. There should be a switch to select translation mode or hardware visual mapping mode on Android as well as on desktop systems.
Operating system(s) on local side and remote side
Android 13 -> Debian Testing Wayland
RustDesk Version(s) on local side and remote side
1.2.1 -> 1.2.1
Screenshots
Not needed.
Additional Context
No response
The text was updated successfully, but these errors were encountered: