Table of Contents

autosave Test Plan

autosave: Normal case

  1. Launch rg
  2. Adjust autosave interval to 30 seconds.
  3. Add a segment.
  4. Save the document.
  5. Add another segment.
  6. Wait 45 seconds to make sure autosave occurs.
  7. You can check the autosave directory for an autosave with the current time at the bottom:
    • ls -lrt ~/.local/share/rosegarden/autosave
  8. pkill rosegarden
  9. Launch rosegarden.
  10. Load the file.
  11. Confirm autosave dialog appears.
  12. Yes to recover the autosave.
  13. Confirm there are two segments.
  14. Close without saving.
  15. Launch rg.
  16. Load the file.
  17. No autosave dialog appears.
  18. Confirm there is only one segment.

autosave: No recovery

  1. Launch rg
  2. Adjust autosave interval to 30 seconds.
  3. Add a segment.
  4. Save the document.
  5. Add another segment.
  6. Wait 45 seconds to make sure autosave occurs.
  7. pkill rosegarden
  8. Launch rosegarden.
  9. Load the file.
  10. Confirm autosave dialog appears.
  11. No to decline recovery.
  12. Confirm only one segment.
  13. Save.
  14. Close rg.
  15. Launch rg.
  16. Load the file.
  17. Confirm no recovery dialog.
  18. Confirm only one segment.

autosave: Crash after recovery

  1. Launch rg
  2. Adjust autosave interval to 30 seconds.
  3. Add a segment.
  4. Save the document.
  5. Add another segment.
  6. Wait 45 seconds to make sure autosave occurs.
  7. pkill rosegarden
  8. Launch rosegarden.
  9. Load the file.
  10. Confirm autosave dialog appears.
  11. Yes to recover the autosave.
  12. Confirm there are two segments.
  13. pkill rosegarden
  14. Launch rosegarden
  15. Load the file.
  16. Confirm autosave dialog appears.
  17. Yes to recover the autosave.
  18. Confirm there are two segments.

autosave: Untitled recovery

  1. Launch rg
  2. Add a segment.
  3. Wait 45 seconds to make sure autosave occurs.
  4. pkill rosegarden
  5. Launch rg
  6. Confirm recovery dialog.
  7. Click Yes (or “open it”) to recover.
  8. Confirm segment is there.

autosave: Untitled autosave then save

  1. Launch rg
  2. Add a segment.
  3. Wait 45 seconds to make sure autosave occurs.
  4. Save the file.
  5. Exit RG
  6. Launch rg.
  7. Confirm no autosave dialog.
  8. PASS b3ae45b3 master 1/14/2025 No Bug 1700 changes

autosave: Untitled crash after recovery

  1. Launch rg
  2. Add a segment.
  3. Wait 45 seconds to make sure autosave occurs.
  4. pkill rosegarden
  5. Launch rg
  6. Confirm recovery dialog.
  7. Click Yes (or “open it”) to recover.
  8. Confirm segment is there.
  9. pkill rosegarden
  10. Launch rosegarden
  11. Load the file.
  12. Confirm autosave dialog appears.
  13. Yes to recover the autosave.
  14. Confirm segment is there.