GNOME Bugzilla – Bug 310843
Remember location where a file was last opened from across restarts.
Last modified: 2019-03-20 11:21:00 UTC
When you open a file with Dia, it remembers your location in the directory where you opened that file. So when you come to load another file, you start off in your last location. This is good. It would be handy to extend this functionality to persist the last-opened location across application restarts.
it should be simply a matter of some persistence_set_string() calls... Is this a consistent consistent way of showing open dialog accros gnome ? (think of gedit or gimp...)
*** Bug 584756 has been marked as a duplicate of this bug. ***
Created attachment 144451 [details] [review] Make open dialog current directory persistent accross application restarts
Comment on attachment 144451 [details] [review] Make open dialog current directory persistent accross application restarts Patch is attached
Without the patch the folder of the current diagram gets used. With the patch it is always the last one used. I think it would be better to keep the previous behaviour and only fall back to the last-used-dir when there are no other options. (May be just removing the else from line 297, but untested.) Also it might be desired to use the file-chooser-last-directory for the save/export case, probably with the same exception as above.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/dia/issues/147.