saber-notes / saber

The cross-platform open-source app built for handwriting
https://saber.adil.hanney.org
GNU General Public License v3.0
2.31k stars 153 forks source link

PDF getting corrupt when used on multiple devices #1373

Closed jyo64 closed 4 weeks ago

jyo64 commented 1 month ago

Before submitting an issue, please check the following

Describe the bug

Screenshot from 2024-10-19 21-53-25

Screenshot from 2024-10-19 21-56-34

The PDF file is getting corrupt with no way to recover when used with multiple devices. I did not make parallel changes. But the issue remains.

To reproduce

  1. Open Saber
  2. Add an image (in my case) and save it on Laptop
  3. Open the same PDF on Android and try to do markdown on it
  4. PDF loads every page except one that is in persistent loading screen

Expected behavior

PDF loads all pages

Saber version

v.0.25.1 (snap)

Device

Anything else?

An option to backup data and recover from it would be greatly benefitial

jyo64 commented 4 weeks ago

This happens only when two devices are used simultaneously where both have low Internet and the undelying images gets changed during syncing. This could be classified as a user issue and hence closing this.