Update: I made a script that quits Obsidian normally, then initiates the shutdown sequence. Upon rebooting and launching Obsidian, workspace.json was still truncated and only restored the main window.
Alright, I’ve replicated the issue on my computer using the sandbox vault (mostly: loss of all secondary windows, rather than all tabs in all windows).
- First, I tried it with a local copy of the sandbox repo. This enables workspace.json saving to disk.
- Second, I also tried it with the Obsidian built-in “Open sandbox vault”, and found workspace.json in
C:\Users\%user%\AppData\Roaming\obsidian\Obsidian Sandbox\.obsidian
In both cases, I could see that workspace.json shrunk in size upon closing Obsidian. Not to zero (so slightly different from my main vault problem), but still losing all secondary windows.
- When I used the local copy of the sandbox repo, reopening Obsidian confirmed that the main window tabs remained, but the secondary window was lost.
- When I used the built-in “Open sandbox vault”, the sandbox reset upon reopening.
Here are screen recordings for both scenarios:
Local copy of sandbox repo
https://i.imgur.com/zlFdQTZ.mp4
Built-in “Open sandbox vault”
Just to concur: After keeping an eye on this for a few days, I have noticed some occasions where quitting Obsidian normally — either through ⌘Q or Obsidian → Quit — will cause workspace.json to get truncated as well. It doesn’t happen all the time though.
I have the same problem on macOS 15.6, Obsidian 1.8.10 (Installer 1.8.9). When I quit, the complete “floating”: {…} block is lost from the workspace.json and all extra windows are gone when re-opening. Would be great if this can be fixed, I am happy to provide additional info if needed.
will be fixed 1.9.14
Just saw the release notes, and came to check if this issue. It was such a pain to lose context across 10 windows.
Thanks for taking care of it @WhiteNoise!
I forgot to add - that one the quit/start cycle that ended up getting 1.9.14 it did lose all the additional windows.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.