-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
alt+g not working with the QEMU Extended Key Event extension #271
Comments
I tested git master against wlvncc and Tiger VNC and it works fine. Based on your trace log, it looks like Turbo VNC is still sending symbol events. |
@any1 You are correct. The TurboVNC Viewer was falling back to regular RFB key events if the VNC server didn't support either the QEMU or VMware LED State extension. I fixed that issue in TurboVNC/turbovnc@b4fd6ae. However, I would suggest that support for one of those LED State extensions be added to neatvnc. Otherwise, the lock key states will become decoupled between the client and the VNC server if one of the lock keys is pressed outside of the VNC viewer window. (In fact, that is exactly what happens when using the TigerVNC Viewer, or the TurboVNC Viewer with the aforementioned fix, with wayvnc.) |
@dcommander Can't the client remember the state and re-apply it when it receives focus? Or maybe just send key events to the server? |
@any1 Not without one of the LED State extensions. The problem is two-fold:
|
@any1 Upon further reflection, it isn't even necessary for the VNC server to allow multiple simultaneous connected viewers in order to experience Problem 1 above. The lock key state for an X11 or Wayland display can be modified from a command line program, and such a program could be run in an SSH shell with either |
@dcommander I'd say problem "3" is pretty much the same thing as problem 1. They can both be solved by enabling multi-seat in wayvnc, but that's not enabled by default. Problem 2 wasn't entirely clear to me, but I think I understand it now: The client doesn't know the server's state when it connects, so it doesn't know which lock keys to toggle if it wants to synchronise the state. Thanks for explaining! |
Out of curiosity, what does multi-seat do? |
Each user has their own separate input state and window focus. |
Useful information:
When using TurboVNC with QEMU Extended Key Event extension enabled, some key combos like
alt+g
stop working. Source issue with more context: TurboVNC/turbovnc#377. When forcefully disabling QEMU Extended Key Event,alt+g
works fine.Default
us
layout on both client and server, macos client.wayvnc for
alt+g
with Extended Key Eventxkbcli for
alt+g
with Extended Key Eventxkbcli for
alt+g
WITHOUT Extended Key Eventxkbcli interactive-wayland
or any other keypress viewerWorkaround: disable the extension via
-serverkeymap=0
The text was updated successfully, but these errors were encountered: