Skip to content
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

Wrong keyboard input when there are multiple keyboard layouts #217

Open
twaik opened this issue Jan 16, 2023 · 1 comment
Open

Wrong keyboard input when there are multiple keyboard layouts #217

twaik opened this issue Jan 16, 2023 · 1 comment
Labels

Comments

@twaik
Copy link

twaik commented Jan 16, 2023

Describe the bug
When running x11vnc on a X server that has multiple keyboard layouts it inputs text wrong. For some reason if X server has language layout it does not switch to this layout if it has symbols of it.

To Reproduce

  1. Install RealVNC Viewer (com.realvnc.viewer.android) on phone if you have Android.

  2. Select English, Russian, Hebrew layouts for your keyboard.

  3. On your PC select English and Russian layouts (w/o hebrew).

  4. Open any text editor (prefer X11, not vi/nano/etc.)

  5. Start x11vnc.

  6. Focus editor.

  7. On phone open RealVNC Viewer and connect to PC.

  8. On PC switch to english layout.

  9. Try to type with english symbols on phone. Everything is right.

  10. Try to type hebrew symbols. Everything is still right.

  11. Try to type russian symbols. You will see english symbols instead of russian in editor.

  12. Now on PC switch to russian layout.

  13. Try to type english symbols. You will see some russian symbols on your screen.

  14. Try to type hebrew symbols. Everything is right.

  15. Try to type russian symbols. Everything is right.

Expected Behavior
Typed symbols should fit to symbols were typed.

Screenshots
I am not sure it is applicable there...

Desktop (please complete the following information):

  • OS and version: Kubuntu 22.10, x11vnc: 0.9.16 lastmod: 2019-01-05 (built from master branch)
  • Xorg version used: X.Org X Server 1.21.1.4
  • Wayland version used: unused.

Additional context

@twaik twaik added the bug label Jan 16, 2023
@twaik
Copy link
Author

twaik commented Jan 16, 2023

There is something wrong. Key combinations (like Ctrl+C in terminal) work with two first layouts in list, but not third...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant