Resize disk is unavailable when a snapshot is present, no error message
Hi, I find out recently then I wasn't able to resize a disk when there is a snapshot present on the VM, and this is totally understandable, but what is not understandable is that boxes doesn't give me any error when I try to resize my disk.
I found out that the only error message available is through the terminal if I start boxes via the terminal.
Another thing is that, when I tried to delete a snapshot the snapshot is was not deleted until I closed the little pop-up at the bottom of the window, so I wrongly assumed that the snapshot was deleted but it was not and it was still giving me the same error only in the terminal. Only after closing the little pop-up at the bottom of the window i was able to successfully resize the disk I wanted.
- Is it possible to add a little note when the user try to resize the disk that is only available if the VM doest have any snapshot?
- Add a error message like the one is present on the terminal
storage-row.vala:110: Failed to change storage capacity of volume '<disk-name>' to 43164421324 KiB: Unable to resize volume storage: internal error: Child process (/usr/bin/qemu-img resize /home/<user>/.local/share/gnome-boxes/images/<disk-name> 43164421632) unexpected exit status 1: qemu-img: Can't resize a v2 image which has snapshots
PS: Sorry for my bad English, if i sound angry I am not, just bad at writing 🥲