Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remembering the Last Project Folder #44

Closed
philipbaileynar opened this issue Aug 25, 2021 · 2 comments
Closed

Remembering the Last Project Folder #44

philipbaileynar opened this issue Aug 25, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request 🌐 Viewer QGIS
Milestone

Comments

@philipbaileynar
Copy link
Contributor

The Problem

It's annoying that each new QGIS session, the first time you click the open project button the file browser dialog defaults to some system folder.

Requested Feature

Every time that clicking the open project button results in a selected project file (i.e. not when the user cancels the browser dialog) it would be helpful if QRAVE stores the "last used project folder". This last used project folder is then used to initialized the browser dialog (remembering to check if the value is not NULL (i.e. no value has been stored yet) and the folder still exists).

I do this in every .net app for any kind of file browsing operation (arcRAVE example). It's a tiny tiny tiny help to the user that saves a TON of time (typically without them even knowing). It's especially valuable in RAVE because most folks have a dedicated top level folder on their hard drive where they store all their downloaded projects. Getting back to this top level folder every session is annoying.

I recognize that we are talking about Qt on multiple operating systems, which complicates this feature. But I think we store other software level settings and I'm hopeful we can similarly store the last used project folder.

(FWIW Subsequent clicks of the open project button do launch the browser dialog at the last browsed folder).

@philipbaileynar philipbaileynar added the enhancement New feature or request label Aug 25, 2021
@MattReimer
Copy link
Member

The issue is that the setting is stored in the wrong domain. If we store it at the qgis level and not the plugin level it should work.

@MattReimer MattReimer added this to the QRAVE 0.6 milestone Aug 29, 2021
@MattReimer
Copy link
Member

Ah, this was easy. I was already reading the setting but I'd forgotten to write to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request 🌐 Viewer QGIS
Projects
None yet
Development

No branches or pull requests

2 participants