Does Location Bar retain history between sessions?

Directory Opus 13.2.1 (Beta) Build 8814 x64
OS 10.0 (B:22631 P:2 T:1) SP 0.0

Is the Location Bar supposed to remember its path history between sessions?

Whenever I start my computer, the Location Bar history dropdown only displays a list of my default tabs that are opened when DOpus starts.

As I navigate to a folder, its path is added to the Location Bar dropdown for both listers (I use a dual panel almost exclusively) and I can browse to any recently opened folder from either lister.

However, if I either shut down DOpus (File/Exit Directory Opus) or my computer is first started or restarted, the Location Bar history is lost, and I only have a list of the default tabs.

I have looked through the preferences and searched the forum, but cannot find any info related to the issue (if indeed it is an issue).

Thanks for any advice.

It's remembered across restarts here.

Have you turned off Recent Folders under Preferences / Miscellaneous / Privacy? If so, that would explain it.

Thanks for the prompt response, Leo.

All boxes in that preferences page you suggested are ticked, including Recent Folders.

Could it have anything to do with the way I have set up my default folder tabs? I have each tab set 'Locked (allow folder changes)'.

If you paste /dopuslocaldata/State Data into the location bar and push return, is there a recent.osd file there? Is the modification time recent?

Yes, that file exists and is very recent (within seconds of current time).

If you view the file, does it have the path(s) you'd expect?

Check the settings under Preferences / Frequently Used Paths / Recent List, too.

If you view the file, does it have the path(s) you'd expect?

Yes, the file contains the list of paths as per the Location Bar drop down. It also updates when I navigate to different folders (monitoring the file in VS Code).

Check the settings under Preferences / Frequently Used Paths / Recent List, too.

I don't know whether the 10 files limit has any effect. I would not expect to see my default tab groups in this list when starting DOpus.

It may depend how those initial tabs are opened.

Do they seem to be filling up the recent list and pushing out the other folders when a new window opens?

I have set up two tab groups (one for left lister and one for right).

I opened the recent.osd file whilst DOpus was starting after a PC reboot (I just started VS Code). As soon as DOpus came up, the recent.osd file populated itself with my default tabs.
Also, the two listers do not always remain in sync with the drop-down list on the Location Bar.

I've just increased the number of recent files to 20 and restarted DOpus, and whilst the list now shows some of the visited folders amongst the default tabs, there are still only 10 entries in the list. The recent.osd file has 18 entries.

Are you opening that tab group after opening the window, or are the tabs open already as soon as the window opens?

(Tab groups aren’t auto-loaded when a window opens, unless a script is doing that. The window can remember the tabs which were open when it was last saved, but that’s separate to any tab groups. If the tab group is being loaded after the window opens, that might explain what’s happening.)

The tabs (from my 2 groups) open as soon as DOpus opens the UI. The open tabs in those 2 groups (what I call my default tabs), would have been saved in my default lister layout. There's no script running that opens tabs. So it's the remembered tabs from the default lister layout that are opening, not the tab groups.

I've just reset the Recent List back to 10, and even though I navigated through several different folders, upon starting, DOpus populated the list with my opened default tab paths - which when I stop and think about it, based on what you said earlier, that would be correct as they were the last tabs that were opened as DOpus started up with my default lister.

I still think that there's room for improvement here. Perhaps DOpus should ignore the initial tabs opened from the default lister layout when DOpus starts up.

Thanks, Leo.

Thanks!

Maybe we can add an option for it, or have it add the initial folders to the bottom of the list (if there's room) instead of the start, so it doesn't push other folders out of the list.

I could see some people using the recent list to get back to their initial folders, but can also see why you wouldn't want that in the situation you describe.

Need to look at the code in detail, but what you want definitely makes sense. :+1:

Thank you Leo.

@Leo, did you have time to have a look at this 'issue' from 12 months ago, please?

I would still like to be able to load a set of default tabs on start up, as well as remember the tabs from previous sessions.

Thank you.

It's still on our list to look at, but we haven't yet. Lots of stuff which more people have asked for that needs doing first. But it hasn't been forgotten.