Working directory not taken into account for Save As
By thomas - Posted on July 8th, 2009
| Project: | MuseScore |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
The default working directory in Edit > Preferences > Working directory is only taken into account when opening a score and not for Save As. Applies to all platforms.
The states of the "save as" and "save a copy" filedialog are saved on close event and restored at creation time.
But apparently, it's not working?
A code workaround could be to initialize them to "workingDirectory".
The states of the "save as" and "save a copy" file dialogs are saved within a session (as expected).
I believe this bug report is about the first time you open the Save As dialog (after a restart of MuseScore). On my computer (Windows XP) it always opens up to the My Documents folder (after a restart of MuseScore) even if I set the working folder to something else.
Alternatively you could save states across multiple sessions. I believe this is how Firefox behaves.
The same 'saveAs" and "saveCopy" dialog are used within a session. So obviously, they keep their content.
According to the code, states is saved and restored across multiple sessions. But it does not work (on windows and on mac, didn't test on Linux yet).
We can indeed set the working directory as the default on creation instead of relying on previous session.
fixed in r1972
Automatically closed -- issue fixed for 2 weeks with no activity.