Modifier keys don't work in MacOS guest when the host is accessed via remote desktop
- Dominant language
- Swift
- Stars
- 35.5k
- Forks
- 1.8k
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 7
Description
### Discussed in https://github.com/utmapp/UTM/discussions/5020
Originally posted by **acgourley** February 14, 2023
OSX Laptop ---remote desktop---> OSX Host ---UTM Window---> OSX Guest
If am in the OSX laptop, I cannot send modifier keys like Shift to the OSX guest. I figure this isn't a bug with UTM so much as my remote desktop software, but I'm wondering if anyone has ideas on a fix.
---
I have the same problem as in the discussion above. I use Chrome Remote Desktop (CRDP).
None of the modifier keys (shift, control, alt, meta) work. This can be easily verified using the [Keyboard Viewer](https://support.apple.com/en-gb/guide/mac-help/mchlp1015/14.0/mac/14.0):
In CRDP, you can see the host OS is aware of the AltGr key, but the guest (which has focus) is not:

In VNC, the client sees my shift key:

CRDP uses the accessibility service to inject the keys, and VNC must be doing it differently. In fact, the host Keyboard Viewer _cannot_ inject modifier keys into UTM either.
However, CRDP gives much lower lag over the Internet, so I would really like it to work.
Contributor guide
Assessment
This issue has not been assessed yet.