This is an old revision of the document!
File Open/Save Test Plan
Open File Not Found
In ~/.config/rosegardenmusic/Rosegarden.conf
Start Rosegarden.
File > Open
Confirm that the dialog is in your home directory or someplace else sensible for a first launch.
Open a file in a directory other than ~ or your build directory or the current directory when running rg.
File > Open
Confirm that the open dialog is in the directory from the last open.
In the dialog type a name that doesn't exist and hit return.
Confirm “Cannot open file” dialog.
Click OK.
In Rosegarden.conf, confirm [Last_Used_Paths] open_file is the directory of the file that was opened (not just a dot “.”).
File > Open
Confirm that the open dialog is in the directory from the last open.
PASS, 22 January 2025, 32630947 (fr518 fixes),
FAIL, 22 January 2025, e83dcf00 (master), the dot appears for open_file and open is in the wrong directory.
Save Directory Not Found
Start Rosegarden.
Open a file in a directory other than ~ or your build directory or the current directory when running rg.
File > Save As…
Confirm dialog is in the directory where the file was opened.
Enter a name with a slash (X/y) - directory x should not exist.
Confirm “Could not save document at…” dialog.
Click OK.
File > Save As…
Confirm dialog is in the directory where the file was opened.
PASS, 21 January 2025, 64943ed3 (master). This isn't supposed to pass. Test case setup is incorrect?
PASS, 21 January 2025, 5588528e (fr518 fixes). Supposed to pass. But test case is suspicious.
Save With New Directory
Start Rosegarden.
Open a file in a directory other than ~ or your build directory or the current directory when running rg.
File > Save as…
In the Save As dialog create a new directory.
Save the file there.
File > New
File > Save As
Confirm dialog is in the directory where the file was saved.
FAIL, 21 January 2025, 64943ed3 (master), Save As dialog is in the build directory.
PASS, 21 January 2025, 5588528e (fr518 fixes). Issue is fixed.