Did a little research and found that the issue occurs starting with tigervnc-server 1.9.0, possibly due to "Alternative, "raw" keyboard mode in the native client and all servers" (https://github.com/TigerVNC/tigervnc/releases).
Regardless, I also found a workaround to solve my problem, but I'm afraid it will break something else.
The workaround is to enable the Japanese keyboard in the UltraVNC client.
With the Japanese keyboard enabled, I don’t see my problem, but in "xev" I see a single press, and not a lot of "press release".
I would like to understand if the problem is related to UltraVNC, TigerVNC or the application I am using?
Here is the XEV log without the Japanese keyboard:
Code: Select all
KeyPress event, serial 28, synthetic NO, window 0x1a00001,
root 0x31c, subw 0x0, time 2196499643, (883,496), root:(933,611),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x1a00001,
root 0x31c, subw 0x0, time 2196499670, (883,496), root:(933,611),
state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 28, synthetic NO, window 0x1a00001,
root 0x31c, subw 0x0, time 2196499670, (883,496), root:(933,611),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x1a00001,
root 0x31c, subw 0x0, time 2196499701, (883,496), root:(933,611),
state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 28, synthetic NO, window 0x1a00001,
root 0x31c, subw 0x0, time 2196499701, (883,496), root:(933,611),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x1a00001,
root 0x31c, subw 0x0, time 2196499736, (883,496), root:(933,611),
state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 28, synthetic NO, window 0x1a00001,
root 0x31c, subw 0x0, time 2196499736, (883,496), root:(933,611),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x1a00001,
root 0x31c, subw 0x0, time 2196499761, (883,496), root:(933,611),
state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 28, synthetic NO, window 0x1a00001,
root 0x31c, subw 0x0, time 2196499761, (883,496), root:(933,611),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x1a00001,
root 0x31c, subw 0x0, time 2196499774, (883,496), root:(933,611),
state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
Code: Select all
KeyPress event, serial 30, synthetic NO, window 0x1a00001,
root 0x31c, subw 0x0, time 2196551230, (200,4), root:(250,119),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 30, synthetic NO, window 0x1a00001,
root 0x31c, subw 0x0, time 2196557882, (200,4), root:(250,119),
state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False