I wish the Files Explorer/Tree would remember in which state I left my folders (expanded/unfolded or collapsed/folded) before re-launching Obsidian, if possible …
Actual result
This is what the Files Explorer/Tree looks like in the brand new vault I created before quitting Obsidian:
(As shown, I’ve unfolded/expanded all the folders)
SYSTEM INFO:
Obsidian version: v1.6.0
Installer version: v1.5.12
Operating system: Darwin Kernel Version 20.6.0: Thu Jul 6 22:12:47 PDT 2023; root:xnu-7195.141.49.702.12~1/RELEASE_X86_64 20.6.0
Login status: logged in
Catalyst license: supporter
Insider build toggle: on
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
I can reproduce it on mobile (iPad). I didn’t test the desktop version.
On my side to reproduce it, I have to enable some plugins in order to overcome a threshold of 400ms of plugin loading time (as reported by Obsidian enabling the debug option).
If my plugins load believe this threshold no issue, if I enable a lot of plugin at each restart the file explorer lost its state and all folder are collapsed.
I didn’t encounter that on mobile (iPad) … even in vaults opening with a loading time above 400ms.
But I can still repro on Desktop (Obsidian 1.6.1) though … (I was wrong before, it’s still happening for me , sorry )
The issue doesn’t occur if I delete the workspace.json from the hidden .obsidian folder in iCloud and then re-launch Obsidian… But if I re-launch Obsidian once more, the issue reappears .
(Maybe I also should have added that I open multiple vaults at the same time when I launch Obsidian)
All my vaults are generally stored in iCloud (in the dedicated Obsidian folder), which I know could be the cause (or at least, part of the problem ) but I’m 99% sure that didn’t encounter that with Obsidian 1.5.12… it all started with 1.6.0
I’ve just created 4 brand new vaults (didn’t touch the settings so restricted mode is On), locally this time, following these paths:
… and they all open with the folders folded/collapsed, regardless of how I left them before re-launching Obsidian (like in the screen-recording I shared previously).
(I re-launched Obsidian with only these locally stored vaults opened… Not the vaults stored on iCloud I usually open)
Here’s the debug info of one of the locally stored vault, just in case :
SYSTEM INFO:
Obsidian version: v1.6.1
Installer version: v1.5.12
Operating system: Darwin Kernel Version 20.6.0: Thu Jul 6 22:12:47 PDT 2023; root:xnu-7195.141.49.702.12~1/RELEASE_X86_64 20.6.0
Login status: logged in
Catalyst license: supporter
Insider build toggle: on
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
I’ll find some time tomorrow to try and revert back to Obsidian 1.5.12 just to see if I can still repro this or not under that version and then re-update to 1.6.1.
It is not the same but I tried to switch back to 1.5.12 after updating to 1.6.1 and the issue is solved (on iPhone/iPad).
My vaults are locally stored (no iCloud) synced/backed up using GIT.
As I said removing all plugin works but re-enabling some of them, slowing down the startup, re-enable it (on 1.6.1) while, with the same configuration, everything works on 1.5.12.
I have 52 plugin installed and about 30 actives so it is a time consuming activity.
Anyway, I re-try and I’ll report some of the combinations that create thee issue.
For instance, the first time I inactivated plugins in alphabetical order and the one that reenabled the right folder management in File Explorer was Dataview but, since it doesn’t make any sense to me, I tried to leave Dataview active deactivating something else, like Excalidraw, and everything works again.
I’ll check tomorrow.
P.S. Could help you if I provide my plugin configuration?