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

macOS Guest: When Use Trackpad is enabled from UTM.app GUI, it is not saved in config.plist #5369

Closed
runwaygoats opened this issue Jun 5, 2023 · 2 comments
Milestone

Comments

@runwaygoats
Copy link

Describe the issue
When Use Trackpad is enabled from UTM.app GUI, it is not saved in config.plist
When I add it manually to config.plist file as below, the setting is kept until I made another change and save from UTM.app GUI.

            <key>Trackpad</key>
            <true/>

Configuration

  • UTM Version: 4.3.0 (82)
  • macOS Version: 13.4
  • Mac Chip (Intel, M1, ...): M1 Max
@F1248
Copy link

F1248 commented Jun 7, 2023

I cannot contribute to the solution of the problem, but I can confirm that I have the same problem:
MacBook Air M1, macOS 13.4, UTM 4.3.0 (82)

@nitinseshadri
Copy link

I am having the same issue and I think I know why it is happening.

In UTMAppleConfigurationVirtualization.swift, the developers forgot to encode the Trackpad preference when saving. The following line should be added to func encode(to encoder: Encoder):

try container.encodeIfPresent(hasTrackpad, forKey: .hasTrackpad)

@osy osy added this to the v4.3 milestone Jun 12, 2023
@osy osy closed this as completed in b33abd0 Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants