I opened a Canvas on the mobile app only for the contents to be immediately wiped (first unexpected behaviour)
Going to version history on mobile and/or laptop shows the previous Canvas versions with content, but restore is not an option (second unexpected behaviour)
I managed to get the file back by going to logs, getting the deleted JSON, pasting it into a txt file and renaming that with .canvas.
Not an ideal solution though.
Notes:
I use obsidian on Mac and iPhone
I use Obsidian sync service
I do not have my files sync’d by any other means
My vaults sit under my Mac user folder ~Jonathan/vaults/…
I hope these screen shots clarify things a bit:
First shows the correct content, but no restore option
I’m getting this on desktop as well. Clearly the historical data is safe somewhere, but I see no interface to actually trigger the restore 1.8.9 windows. I was lucky enough to have a git backup on top of sync so I got my file back already.
OK I worked out what it was! (I also upgraded to 1.8.10, though it didn’t change the behaviour)
seems to be an issue of the canvas aspect ratio. when I made it landscape, the controls reappeared. It’s also quite a large canvas, so that may have an impact.
I’ve also had this same issue on Obisidian 1.8.10 on Windows 11, Windows 10, and Android.
From what I can gather, it will sometimes flicker the “show changes, copy, restore” option when I click on the version before the image of the canvas is displayed. This is only happening on my very tall portrait canvases. My current guess is what is happening, is that all of the information is still there, it’s merely a display bug, where the image size is expanding too large, and pushing the copy/restore section out of the visible space.
If it matters, I pay for sync, and it’s quite frightening to me to have this happen, as I rely on version history restore rn when there are data mismatches when I’m working on multiple machines, and a canvas is open, and it overwrites before a sync can happen, thus losing data.
Ideally, the preview image would truncate to the correct aspect ratio, however, if the copy/restore div is still there, it could be forced on top. But I’d be fine with a right mouse button → copy/restore in the list view on the left, it would solve the issue for me. As long as there’s always some way to restore a version, that’s the most important part for me.