-
Notifications
You must be signed in to change notification settings - Fork 14
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
Incorrect keyboard handling on Windows #160
Comments
Are you sure Alt is not accidentally mapped to something else, like the Win key? |
Pressing Alt + P has the same effect as pressing just P. Every key that is pressed together with Ctrl + Alt or AltGr is completely ignored. Windows shortcuts work as usual. By the way, there are further weird things going on. This is how the keyboard exerciser looks like after typing Typing keyDowns look no better: |
The root cause for all of this is that the OpenSmalltalkVM provides different events on different platforms and because of this, Squeak has covered this up on the image side. TruffleSqueak is very consistent because it's using Java AWT/Swing but that breaks on the image level. I guess you can tell that I don't use Windows much myself. Any contributions that makes this better are more than welcome. The trufflesqueak/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/io/SqueakKeyboard.java Lines 15 to 73 in a068eca
|
Thanks for the pointers. So I'm no longer confused that most of these shortcuts do not work in WSL/VcXsrv either. If the problem might be on the image side, I'll also talk with @marceltaeumel about it. :-) |
We once thought about letting TruffleSqueak always prepend to run on Linux because of this. But then you of course run into many other problems (e.g., when trying to access the file system with the wrong delimiters). |
Hm ... maybe we should introduce a new "omniplatform" type on the image side? SqueakJS might benefit from that as well. |
Yes, that'd be nice! |
FWIW, I just pushed 8b03140 which also seems to fix some of the other items on your list. |
Great!
…________________________________
From: Fabio Niephaus ***@***.***>
Sent: Monday, December 18, 2023 12:09:10 AM
To: hpi-swa/trufflesqueak ***@***.***>
Cc: Christoph Thiede ***@***.***>; Author ***@***.***>
Subject: Re: [hpi-swa/trufflesqueak] Incorrect keyboard handling on Windows (Issue #160)
FWIW, I just pushed 8b03140<8b03140> which also seems to fix some of the other items on your list.
—
Reply to this email directly, view it on GitHub<#160 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJH4PSUAHVLZ4KXL35ONIKDYJ53RNAVCNFSM5W5R4U72U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBVHEZTCNRXGI3A>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
So far, I stumbled upon the following keyboard gestures that are currently not supported in Windows:
^
)\
and the analogous shortcuts for{
,[
,]
,}
,|
The text was updated successfully, but these errors were encountered: