-
Notifications
You must be signed in to change notification settings - Fork 644
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
GUACAMOLE-261: Implement Spice protocol support. #394
base: main
Are you sure you want to change the base?
Conversation
Nice! I'll start looking through this. |
Cool, SPICE coming to guacamole! I just tried it out, using docker. It basically works, but I'm having trouble with the keyboard layout. When I type capital letters using shift, they work fine, but all other key combinations don't. So Shift + just types the number and not the symbol associated with it. Example: Shift+1 should type "!". Here is what xev shows on my laptop when I type Shift+1:
And here is the xev output for Shift+1 from inside the guacamole spice vm:
For some reason, a Shift_L release event is seen even if I didn't release the key.
Somehow a Caps_Lock gets involved there. There are other inconsistencies, if it would help to show them in detail, let me know. |
Thanks, @csarn - The keyboard mapping does indeed seem to be an area where there are likely to be some bugs. I reused the RDP protocol's keyboard mapping code due to the similarities in what the remote sides of both RDP and Spice require, but my guess is that there are some nuances of Spice that need to be factored in. In my testing I think most of the QWERTY keys from the US mapping work as expected; however, I do see that pressing "Shift" seems to activate "Caps Lock" on the remote side, and release it de-activates it - which is not what I'd call desirable or expected. I'll take a look at the xev output you sent, and the code, and see what I can figure out. |
c6263a2
to
d8228a0
Compare
Hey guys, thanks for working on this! |
@raptaml No, there is no estimate on when this will be complete. |
@necouchman Hey guys, is there any update currently? The current pull request seems to have conflicts with the main branch |
@ExplodingDragon I've not had much time to work on this lately. Also, at the moment Mike is working on a set of changes (GUACAMOLE-377) to the display API that will end up impacting this, so I'm not going to do much in the way of trying to fix the merge conflicts until that is all finished up. |
Well, here we are - ready to submit at least a draft pull request for implementation of Spice protocol support. It still has some work to be done - quite a bit of cleanup, I suspect, and a handful of things left to get working - but I'm ready to start getting some other eyes on it for review.