[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] X11 Event Handling: Keystroke events are not recognized for Numpad Enter Key (#556)

Christoph Thiede notifications at github.com
Wed Apr 7 22:23:22 UTC 2021

Hey all, just another issue in connection with VcXsrv: On my German QWERTZ keyboard, the circumflex key (`^/°`) is a dead key, i.e. I need to press space after this key in order to actually type a circumflex. This works fine for Squeak in Windows, but in VcXsrv, it doesn't ... Instead of `^`, ` ̂` (sic: `16r20` `16r302`) will be typed. Again, gedit recognizes this key correctly, so I think this could be an issue with `sqUnixX11.c`.

I recorded the following keyboard event trace when pressing "dead_circumflex , space" in Squeak/VcXsrv:

keyUp (94)
keyDown (32)

keystroke '<space>' (32)
keyDown (770)
keystroke '̂' (770)
keyUp (32)

For comparison, in Squeak on Windows, the same keyboard input looks like this:

keyDown (220)
keyUp (220)

keyDown (32)
keystroke '^' (94)
keyUp (32)

`220` appears to be the dead circumflex key code, I could reproduce this in a browser. It looks as if VcXsrv does not respect this protocol but sends a single undelayed circumflex key down. Or could this be an issue with the `dead_key_case` handling in `sqUnixX11.c`? gedit handles this input correctly. Under Linux, who is responsible for handling dead keys? The X11 server or the X11 client?

Again, it would be great if someone else with a native Linux installation could give some feedback about the behavior with a Qwertz keyboard without VcXrvc emulation. 😅 

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20210407/c625f505/attachment.html>

More information about the Vm-dev mailing list