photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: thusband on September 13, 2020, 07:36:37 PM

Title: Keep the same folder when switching to a new workspace?
Post by: thusband on September 13, 2020, 07:36:37 PM
I have a couple of folders on my C: drive. One is New Photos. If I'm in the New Photos folder in the Default workspace and then switch to my Keywords workspace it defaults back to the top level C: and I have drill down a bit to New Photos. Is there a setting to keep the current folder open from workspace to workspace? I've looked in preferences but haven't found it.

Many thanks.
Title: Re: Keep the same folder when switching to a new workspace?
Post by: Mario on September 13, 2020, 08:01:42 PM
The selected folder is saved in the workspace.
Title: Re: Keep the same folder when switching to a new workspace?
Post by: Carlo Didier on September 13, 2020, 08:59:52 PM
This has been asked before. Isn't there a feature request already to change that?
Title: Re: Keep the same folder when switching to a new workspace?
Post by: thusband on September 13, 2020, 09:45:03 PM
Quote from: Mario on September 13, 2020, 08:01:42 PM
The selected folder is saved in the workspace.
Sorry I'm not clear. If I change the workspace the selected folder doesn't follow to the new workspace. It reverts to the top level.
Title: Re: Keep the same folder when switching to a new workspace?
Post by: Mario on September 14, 2020, 08:52:40 AM
Try to select a folder before switching the workspace, then save the workspace again.
If it reverts to the top-level, something is wrong. Maybe the last selected folder was not found or the tree state not restored. Not sure...
Title: Re: Keep the same folder when switching to a new workspace?
Post by: thusband on September 14, 2020, 10:46:56 AM
It seems no matter what I do it reverts to the top level. Even if I select a different folder before switching to another workspace it'll go to the top level. I've tried it with different folders and different work-spaces but get the same results. I just want it to stay in the folder I'm already in.

Don't know if the log file will help but I've attached it.

Many thanks
Title: Re: Keep the same folder when switching to a new workspace?
Post by: Mario on September 14, 2020, 11:25:26 AM
Select a folder and save the workspace before switching.
Repeat for the workspace you switch to.

I guess the workspace you switch to was saved with the root element selected and thus it is restored when you switch back.

The entire state of the media and folders tree, the expanded/collapsed items and the selected/focused element are stored in the workspace. When you switch to another workspace, the entire state is restored. This also revers the selected folder back to the folder selected when the workspace you load was current. You cannot "keep" the current folder.
Title: Re: Keep the same folder when switching to a new workspace?
Post by: thusband on September 14, 2020, 11:49:10 AM
OK that works. Thanks a lot.

Would keeping the same folder when switching workspaces make sense as an option?
Title: Re: Keep the same folder when switching to a new workspace?
Post by: Mario on September 14, 2020, 01:02:22 PM
As said above by me and others, there is a feature request for this.

But this is quite complicated to implement, because not only the selected folders and focused folder are affected, but also the complete tree state, filter state and a lot more. And this would require to rewrite quite a bit of the workspace code and I won't do that until there is a lot more demand.

Consider using folder favorites (in the panel below the Media & Folders tree) to keep your frequently used folders quickly accessible. Also, the folder history in the Media & Folder (toolbar buttons in the Media & Folders View) allows you to move back and forth between recently used folders.
Title: Re: Keep the same folder when switching to a new workspace?
Post by: thusband on September 14, 2020, 02:17:52 PM
OK will do. Thanks for helping me out.