Restoring configuration snapshot doesn’t restore previous XML until you restart Boxes
To reproduce:
- Setup any VM.
- Edit it’s XML via Properties: System: Edit XML to make a trivial change (e.g. add a
<description>test</description>
element.) - (Optionally, close the Properties dialog or even restart Boxes. It makes no difference, though.)
- Go to Properties: Snapshots, and restore the previous pre-configuration change snapshot.
- (Optionally, close the Properties dialog. It makes no difference.)
- Go to System: Edit XML.
Expected result:
You should see the restored/unmodified XML.
Actual results:
You still see the modified XML. Notably, if you start the VM it uses the restored/unmodified XML.
Work around:
Restart Boxes. It’ll now show and use the same XML.
Environment:
- Boxes 41.2 via Flathub
- Fedora 35 Workstation
Notes:
Likely related to issue #737. I’ve randomly encountered situations where the displayed XML doesn’t match the current/active XML. (This is the only one I can reproduce every time.)