====== autosave Test Plan ====== ===== autosave: Normal case ===== - 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: * ls -lrt ~/.local/share/rosegarden/autosave - 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. * PASS b3ae45b3 master 1/14/2025 NO Bug 1700 changes * PASS 80d4b274 bug1700-ted 1/14/2025 Bug 1700 changes included. ===== autosave: No recovery ===== - 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. - pkill rosegarden - Launch rosegarden. - Load the file. - Confirm autosave dialog appears. - No to decline recovery. - Confirm only one segment. - Save. - Close rg. - Launch rg. - Load the file. - Confirm no recovery dialog. - Confirm only one segment. * PASS b3ae45b3 master 1/14/2025 No Bug 1700 changes * PASS 80d4b274 bug1700-ted 1/14/2025 Bug 1700 changes included. ===== autosave: Crash after recovery ===== - 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. - pkill rosegarden - Launch rosegarden. - Load the file. - Confirm autosave dialog appears. - Yes to recover the autosave. - Confirm there are two segments. - pkill rosegarden - Launch rosegarden - Load the file. - Confirm autosave dialog appears. - Yes to recover the autosave. - Confirm there are two segments. * PASS b3ae45b3 master 1/14/2025 No Bug 1700 changes * PASS 80d4b274 bug1700-ted 1/14/2025 Bug 1700 changes included. ===== autosave: Untitled recovery ===== - Launch rg - Add a segment. - Wait 45 seconds to make sure autosave occurs. - pkill rosegarden - Launch rg - Confirm recovery dialog. - Click Yes (or "open it") to recover. - Confirm segment is there. * FAIL b3ae45b3 master 1/14/2025 No Bug 1700 changes * PASS 80d4b274 bug1700-ted 1/14/2025 Bug 1700 changes included. ===== autosave: Untitled autosave then save ===== - Launch rg - Add a segment. - Wait 45 seconds to make sure autosave occurs. - Save the file. - Exit RG - Launch rg. - Confirm no autosave dialog. - PASS b3ae45b3 master 1/14/2025 No Bug 1700 changes * FAIL 80d4b274 bug1700-ted 1/14/2025 Bug 1700 changes included. * When the file is saved, the autosave for Untitled should be deleted. * PASS 0e0854ec bug1700-ted 1/14/2025 Bug 1700 changes included. ===== autosave: Untitled crash after recovery ===== - Launch rg - Add a segment. - Wait 45 seconds to make sure autosave occurs. - pkill rosegarden - Launch rg - Confirm recovery dialog. - Click Yes (or "open it") to recover. - Confirm segment is there. - pkill rosegarden - Launch rosegarden - Load the file. - Confirm autosave dialog appears. - Yes to recover the autosave. - Confirm segment is there. * FAIL 0e0854ec bug1700-ted 1/14/2025 Bug 1700 changes included. * PASS f0ba26f4 bug1700-ted 1/14/2025 Bug 1700 changes included.