Gnome boxes just deletes storage of VM without warning even though it's in different VM [data loss, user-hostile UI]
Welcome to the GNOME Boxes issue tracker!
It appears that Gnome boxes wiill just delete the storage of a VM without warning even when it was used in different VM. I was forced to make a new VM and test around with the same storage image due to a gnome-boxes/virt-manager bug even: https://bugzilla.opensuse.org/show_bug.cgi?id=1216463 So eventually I deleted the old one, assuming since there was zero warning about this and both were known to gnome-boxes, it wouldn't just do something extremely ill-advised like delete the 100GB+ disk image. It's not even put in the trash or something. That frankly seems like kind of user-hostile UI to me, I'm a bit shocked that happened. I feel like it shouldn't do that without asking.
Affected version
- Boxes version: no idea which one deleted it, I found out late. I'm now on 45.0
- Operating system name and version: openSUSE slowroll
Steps to reproduce
- Create a 2nd VM reusing same disk image
- Delete old one
Seen behavior
GNOME Boxes doesnt give the slightest warning and just deletes the entire disk image, not even trash, even though it's still used.
Expected behavior
GNOME Boxes doesn't go around deleting 100GB+ of user data without asking or warning. I mean I guess it could be assumed that many users would want a disk image gone if the VM is removed, I'm not saying it's the worst default, but clearly for such a huge data loss risk there should be a dialog just asking and spelling out very clearly that the associated disk image will be deleted which offers to keep it.