Launch rg
Adjust autosave interval to 30 seconds.
Add a segment.
Save the document.
Add another segment.
Wait 45 seconds to make sure autosave occurs.
You can check the autosave directory for an autosave with the current time at the bottom:
pkill rosegarden
Launch rosegarden.
Load the file.
Confirm autosave dialog appears.
Yes to recover the autosave.
Confirm there are two segments.
Close without saving.
Launch rg.
Load the file.
No autosave dialog appears.
Confirm there is only one segment.