Part of the file is saved, potentially Obsidian can save no content at all.
Environment
SYSTEM INFO:
Obsidian version: v1.6.7
Installer version: v1.6.7
Operating system: Windows 10 Pro 10.0.xxxxx
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 1
Restricted mode: off
Plugins installed: 0
Plugins enabled: 0
Additional information
Possible solutions:
Adding a save indicator, which optionally can have a ~0.2-0.3s delay for switching to state which means that all pending save operations finished processing.
I have not been able to reproduce this problem yet.
Can you kindly post a screen recording of this happening in the sandbox vault and attach a link to file where this happens?
For reference: 26 MB file with over 4 million words. The entire text appears immediately and all of it is saved, even when pressing CMD V and CMD Q in under one second of each other.
M3 MBA
8 GB RAM
256 GB SSD
SYSTEM INFO:
Obsidian version: v1.6.7
Installer version: v1.6.7
Operating system: Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:04 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T8122 23.6.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 1
Plugins enabled: 1
1: Dataview v0.5.67
Just wanted to mention that the Sandbox vault, as far as I know (and seen), isn’t reset after each closing and opening of Obsidian .
(I’m not sure exactly what triggers the reset of the Sandbox vault though … because yes, at some point, it does go back to its initial state).
The message you get when opening the sandbox vault is there because in the earliest versions of Obsidian, some were actually using the sandbox vault as their main vault, not realising it was only a test/playground vault …
Ooohhh I see …
It does reset if you open the Sandbox vault (after closing it) by going to Help > Open Sandbox vault or opening it through the command palette … (So this is how the reset works )
But it won’t reset if you leave the sandbox vault open but quit and reopen Obsidian though (at least, not on my Mac)
The problem is in relation to the fact that nothing in PC guarantees the save speed, Obsidian provides no way to determine what that “not immediately” will be in any taken case. You can read more about it here: Indicator for status of saving .
Good thing this problem gets burred under absolutely useless talk about Sandbox Vault.
The speed of your PC may play a role if this bug is caused by some race condition.
Can you kindly provide a screen recording of this happening in the sandbox vault or in a vault launched with with default theme and restricted mode on?
Again, it would be helpful if you provided the specs of your PC and if you are using an SSD or not.
@WhiteNoise here’s a screen capture in a brand new Restricted vault:
Note especially that the end text This will be the text at the end. does actually show up in Obsidian after the paste, but is not there after re-opening. Size of the file is 21MB.
The problem with doing that, is that i want the core issue to be fixed. They are doing everything to strip down the scope of it.
If they workaround/patch something in a way which makes the issue no longer visible, but wont make a global review of the functions. That will solve nothing.
The issue is absolutely irrelevant to performance of the PC, the file save operations provide handles, Obsidian simply doesn’t care to wait for those handles before showing text, doesn’t provide other indication, nor waits for those handles when closing the app (which is actually, harder to implement).
It is extremely frustrating how much effort I and others have to go to “prove” something until you will take it seriously. Having me record that screen capture added absolutely nothing over what I stated in text, and was simply a waste of my time.
If I say I can reproduce the issue, I can. And now we see that you can too.