Open Voros-Roka opened 1 month ago
Likely a duplicate of #4396
The commit has been reverted in v6.2.x
I'm trying to find a better solution for git master.
@Voros-Roka is this still a problem? I think 730e45eb41bb38aa8e75e0bb3c78f3339910c11e is the correct fix (server side).
Describe the bug When trying to type
&
,shift+6
with ade
keyboard layout on client,K
is inserted instead.To Reproduce Steps to reproduce the behavior:
xpra start :0 --uid=1000 --gid=1000 --mdns=no --exit-with-client=no --exit-with-children=no --exit-with-windows=no --daemon=no --mmap=/sys/devices/pci0000:00/0000:00:08.0/resource2_wc --bind-vsock=auto:2000
XPRA_USE_NATIVE_TRAY=0 xpra attach vsock://4:2000 --mmap=/dev/shm/my-ivshmem --border=red,8 --opengl=no --sharing=yes
shift+6
to type&
withde
keyboard layout on server and clientSystem Information (please complete the following information):
commit gce124c6415 from master branch
commit g75d2762385 from v6.2.x branch
Additional context The server runs with xdummy inside a qemu vm. LightDM is the display manager and AwesomeWM the window manager both on server and client. There is no compositing involved. xpra is set to keyboard layout
auto
in the menu. While testing commit ce124c6415 (on server) for issue https://github.com/Xpra-org/xpra/issues/4403 i noticed that when i am trying to type&
(shift+6
) with ade
keyboard layout (setxkbmap de
on client) i get aK
instead. This did definitely not happen with 75d2762385 or any previous version as server. I tried ce124c6415 and 75d2762385 as clients but there was no difference, i still gotK
instead of&
.xpra toolbox
-> keyboard shows the following for pressing the6
withoutshift
:and for
shift+6
:That got me curious and i tried different combinations that resulted in the following table (N/A means that while pressing the key nothing happened):
setxkbmap
clientsetxkbmap
servershift+6
expectedshift+6
actualshift+7
expectedshift+7
actualde
de
&
K
/
/
de
us
&
K
/
&
us
us
^
^
&
K
us
de
^
&
K
Something between commit 75d2762385 and ce124c6415 changed that leads to that behavior. Even if we disregard mismatched layouts between server and client there is definitly something wrong. I did not notice any problems with other keys. Sadly i am currently not able to provide more information then that, but as soon as i am able to what can i provide to help with debugging?