utmapp / utmapp/UTM

Inserting text from Keyboard Maestro ignores modifier keys like Shift

Open
#4,189 4 comments 0 reactions 0 assignees View on GitHub
bug macOS
Dominant language
Swift
Stars
35.5k
Forks
1.8k
Avg merge
5d 5h
Merged PRs (30d)
7

Description

**Describe the issue**
I'm running a macOS Monterey VM using virtualization rather than emulation, so clipboard sharing isn't available to me as Spice tools can't be installed. To work around this, I added the following macro to Keyboard Maestro:

![image](https://user-images.githubusercontent.com/139183/177163439-761c398f-f174-4f89-8299-bbe251ecdfad.png)

However, when I invoke it, all characters that are supposed to be typed with the Shift key are typed without — `https://example.com/?a=1&b=2` is typed as `https;//example.com//a=17b=2` (with a US keyboard layout — presumably what actually turns up will vary for others).

I'm not sure if this is an issue with Apple's Virtualization framework or UTM, though. Is there a workaround for this (preferably one that gets clipboard sharing working :)

(TBH, my main reason for wanting clipboard sharing is so I can paste passwords from 1Password 7 on the host system. I tried installing it on the VM, but wasn't able to log in to iCloud to get at my vault, as it just says "Verification Failed. The action could not be completed." I was able to find people having similar troubles with Parallels, so I suspect this is a Virtualization framework limitation. Unfortunately, QEMU was far too slow when I tried it, so I have to use Virtualization.)

**Configuration**
* UTM Version: 3.2.4 (58)
* OS Version: macOS 12.4 (21F79)
* Intel or Apple Silicon? Apple Silicon

**Crash log**
n/a

**Debug log**
Not available in virtualization mode.

**Upload VM**
```xml

architecture
aarch64
bootLoader

operatingSystem
macOS

consoleCursorBlink

cpuCount
0
diskImages


imagePath
disk0.img
isExternal

isReadOnly

sizeMib
102400


displays


heightInPixels
1200
pixelsPerInch
80
widthInPixels
1920


icon
mac
iconCustom

isAppleVirtualization

isAudioEnabled

isBalloonEnabled

isConsoleDisplay

isEntropyEnabled

isKeyboardEnabled

isPointingEnabled

isSerialEnabled

macPlatform

auxiliaryStoragePath
AuxiliaryStorage
hardwareModel

YnBsaXN0MDDTAQIDBAUGXxAZRGF0YVJlcHJlc2VudGF0aW9uVmVyc2lvbl8Q
D1BsYXRmb3JtVmVyc2lvbl8QEk1pbmltdW1TdXBwb3J0ZWRPUxQAAAAAAAAA
AAAAAAAAAAABEAKjBwgIEAwQAAgPKz1SY2VpawAAAAAAAAEBAAAAAAAAAAkA
AAAAAAAAAAAAAAAAAABt

machineIdentifier

YnBsaXN0MDDRAQJURUNJRBMeTOuAJUC2DQgLEAAAAAAAAAEBAAAAAAAAAAMA
AAAAAAAAAAAAAAAAAAAZ


memorySize
8589934592
name
Gate365
networkDevices


macAddress
16:a3:45:80:0c:35
networkMode
Shared


version
3

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.