Skip to content
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

Need to press Caps lock key twice to register in the guest #3415

Closed
mavethee opened this issue Dec 27, 2021 · 5 comments
Closed

Need to press Caps lock key twice to register in the guest #3415

mavethee opened this issue Dec 27, 2021 · 5 comments
Labels
bug Something isn't working macOS macOS issues
Milestone

Comments

@mavethee
Copy link
Contributor

Describe the issue
I've noticed that there is an annoying input lag/bug that affects switching between upper and lower case letters (and vice versa) but it's only present in UTM (QEMU installed from brew and ran the same VMs doesn't experience that issue). You need to press Caps Lock twice to trigger action which is a bit annoying.

Configuration

  • UTM Version: 2.4.1
  • OS Version: 12.0.1 Monterey
  • Intel or Apple Silicon? M1 MacBook Air

Debug log
debug.log

Upload VM
config.plist.zip

@conath conath changed the title Incorrect Caps Lock behavior - UTM vs QEMU. Need to press Caps lock key twice to register in the guest Dec 28, 2021
@conath
Copy link
Contributor

conath commented Dec 28, 2021

I can reproduce this on my machine:

  • UTM Version: 2.4.1
  • OS Version: 12.1 Monterey
  • Intel or Apple Silicon? M1 MacBook Pro

@conath conath added bug Something isn't working macOS macOS issues labels Dec 28, 2021
@bradsevy
Copy link

bradsevy commented Jan 5, 2022

I'm also experiencing this bug.

  • UTM 2.4.1
  • macOS 12.1
  • M1 MacBook Air
  • Behavior persists across multiple guest OSs; Ubuntu, Debian, and Arch

@snjoer
Copy link

snjoer commented Feb 3, 2022

Same bug here

  • UTM 3.0.4
  • MacOS 11.5.2
  • Ma MacBook Pro

@osy osy added this to the v3.2 milestone Apr 26, 2022
@osy
Copy link
Contributor

osy commented May 2, 2022

This is a tricky one because the Caps lock state is handled by the guest OS. If you send the caps lock key before the OS has booted up (for example when the VM is started), it may not be visible.

However, one thing that can be fixed is capturing the Caps lock state while UTM is in the background. For that, a fix will be made.

The caps lock state can also be sent whenever the mouse is captured, but this will still fail if you capture the mouse before the guest OS has booted up. So the best way to ensure the caps lock is synchronized correctly (in the next update) is to capture the mouse at the login screen.

@Banedos
Copy link

Banedos commented Jan 14, 2023

I don't mean to bring up an old issue but I didn't see a clear solution to this.

After spending some time looking into this issue, I found the solution:

Solution: Go to security & privacy in your Mac OS. Then for "Input monitoring" and "accessibility", add UTM for both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working macOS macOS issues
Projects
None yet
Development

No branches or pull requests

6 participants