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
Install RealVNC Viewer (com.realvnc.viewer.android) on phone if you have Android.
Select English, Russian, Hebrew layouts for your keyboard.
On your PC select English and Russian layouts (w/o hebrew).
Open any text editor (prefer X11, not vi/nano/etc.)
Start x11vnc.
Focus editor.
On phone open RealVNC Viewer and connect to PC.
On PC switch to english layout.
Try to type with english symbols on phone. Everything is right.
Try to type hebrew symbols. Everything is still right.
Try to type russian symbols. You will see english symbols instead of russian in editor.
Now on PC switch to russian layout.
Try to type english symbols. You will see some russian symbols on your screen.
Try to type hebrew symbols. Everything is right.
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)
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
Install RealVNC Viewer (com.realvnc.viewer.android) on phone if you have Android.
Select English, Russian, Hebrew layouts for your keyboard.
On your PC select English and Russian layouts (w/o hebrew).
Open any text editor (prefer X11, not vi/nano/etc.)
Start x11vnc.
Focus editor.
On phone open RealVNC Viewer and connect to PC.
On PC switch to english layout.
Try to type with english symbols on phone. Everything is right.
Try to type hebrew symbols. Everything is still right.
Try to type russian symbols. You will see english symbols instead of russian in editor.
Now on PC switch to russian layout.
Try to type english symbols. You will see some russian symbols on your screen.
Try to type hebrew symbols. Everything is right.
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):
Additional context