grass icon indicating copy to clipboard operation
grass copied to clipboard

[Feat] Have the workspace selection dialog box remember the last directory used

Open ericrpatton opened this issue 3 years ago • 6 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. I would find it useful if the wxGUI workspace selection dialog box would 'remember' the last directory where a file workspace gxw file was opened. As it is right now, I believe it places you in the home directory, but my workspace files are buried several directories down in a Grass database.

Describe the solution you'd like When opening a workspace file, the wxGUI opens in the directory of the gxw file from the previous Grass session (or, at least provides the option to do so in the GUI settings if you don't want to hard-code this behaviour.)

Describe alternatives you've considered The only alternative I see is movning all of my gxw files to my home directory, but that is inconvenient as it would then be outside the rest of the Grass project files.

Additional context

ericrpatton avatar Jan 27 '22 15:01 ericrpatton

We could have also recent files, this is already implemented in Python editor.

petrasovaa avatar Jan 27 '22 17:01 petrasovaa

I never noticed that recent files was available in the workplace selector! We can close this request I think.

ericrpatton avatar Jan 27 '22 22:01 ericrpatton

Sorry for misunderstanding, this is not yet implemented for workspace files, only in the Python editor: Untitled

petrasovaa avatar Jan 28 '22 04:01 petrasovaa

It seems I have a 'Recently used' selector in my Grass instance...perhaps a feature of my distro's window manager?

Workspace

ericrpatton avatar Jan 28 '22 16:01 ericrpatton

It seems I have a 'Recently used' selector in my Grass instance...perhaps a feature of my distro's window manager?

Yes, that's unrelated to GRASS

petrasovaa avatar Jan 28 '22 17:01 petrasovaa

Yes, that's unrelated to GRASS

Yes, I know, but since the OS window manger is supplying the required functionality, then maybe the feature doesn't need to be implemented separately in Grass, which is my point.

ericrpatton avatar Jan 31 '22 13:01 ericrpatton