Canvas content disappears on mobile and cannot be restored from version history

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

The second shows the blank Canvas after opening it on the iPhone:

The only version I can restore is the blank version :frowning:

Here is the older revision from 15:35 on the phone, it shows the canvas content prior to it being wiped, but there’s no restore either:

Thanks for considering how this could be improved/fixed

that’s pretty weird.

Is this still happening??

What is your mobile version number? you did not include the show debug info.

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.

what does this mean?

here’s history of a file that somehow got emptied


Note the option to restore at the top


here’s an old state with the content I wanted to restore, but the restore button is gone, so I can’t restore it

Ok, I’ll double check this. Which obsidian version are you running?

1 Like

1.8.9 :smiley: thanks!

Ok, we are at 1.8.10.

Does downloading and reinstall obsidian help with this?

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.