Opening folders causes all tabs to be lost

I encountered an issue when using Directory Opus that causes all tabs in the current active pane to be lost. The reproduction steps are as follows:

  1. Enable "Replace Explorer for all general folders (recommended) (C)" in options
  2. Enable "Open windows that were open when the program was last closed (E)" in options
  3. When closing Directory Opus, ensure there are open tabs in the current pane
  4. Ensure Directory Opus is completely closed
  5. At this point, if you manually open Directory Opus, all the previously browsed tabs are still there
  6. However, if you don't manually open Directory Opus, but instead open any folder through a third-party method
  7. That folder will open in Directory Opus, but it will replace all tabs in the current pane of Directory Opus (including locked tabs). These lost tabs cannot be recovered (since there is no "undo close" list feature)

The normal logic should be that this folder opens at the last position in the current pane of Directory Opus, rather than replacing all tabs. Just like in a browser.

I have been troubled by this issue many times, as I often forget that this bug exists. Therefore, I have spent a lot of extra time trying to recover those lost tabs. I hope there can be a solution.

Additionally, I have two small suggestions:

  1. I hope to provide an option that allows me to activate the tab to the left when closing a tab, rather than activating the last accessed tab.
  2. I hope to provide an option to swap the positions of dual panes when "dual pane" window is enabled.

Turn on Preferences / Launching Opus / Startup / Always perform startup action and it will open both the default Lister (with all its tabs) and the folder in question when it starts up.

I followed what you said, but it doesn't work - the issue can still be reproduced.

Additionally, I also tried the method in this post, but it doesn't work either: Always re-use a single window instead of opening new windows

I seem to have found the cause of this problem. It's because when Directory Opus is closed, opening a folder will cause Directory Opus to create a new window. This new window naturally doesn't have any other previously opened tabs.

However, this issue cannot be resolved through this thread (Always re-use a single window instead of opening new windows).

After testing, even following the instructions in the thread to configure the settings, Directory Opus still opens a new window when reproducing the problem steps, displaying the newly opened folder in the new window. I have to manually restore the previous window to recover the previously opened tabs.

Moreover, in the settings, restarting DOpusRT.exe also doesn't solve this problem. And I checked the startup page in Task Manager - DOpusRT.exe is in startup status.

You should also turn on:

Preferences / Launching Opus / Explorer Replacement / Open all Default Lister tabs when opening a new window