utmapp / utmapp/UTM

Default to "Request power down" for VMs when quitting UTM app or closing a VM window

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

Description

It seems like it would be more friendly behavior if the default was to "Request power down" for a VM if you are quitting the app or closing a VM window, so it would shut down gracefully and not risk losing data. If that doesn't work, then the user could decide to force a shut down or kill.

I'm using Windows 11 and a command-line only linux, and they both shut down automatically after a "Request power down" (no further prompts need to be acknowledged).

As a bonus, could have a timeout (30 seconds?) which then pops up a dialog saying VM doesn't seem to be responding to the request to shutdown, so would you like to force it and possibly lose data?

Could also see this as a pref ("When closing a running VM: [Request power down]", with the same three menu options as the power icon on VM window). But does seem like a default of "Request power down" would be ideal both for usability (it just works with some VMs) and data safety (won't mess up your VM's drive, and worst case you have to click Shutdown on the prompt inside VM).

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.