Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotated PDFs Being Overwritten by WeBeep Sync #104

Open
mattiacolombomc opened this issue Oct 3, 2023 · 1 comment
Open

Annotated PDFs Being Overwritten by WeBeep Sync #104

mattiacolombomc opened this issue Oct 3, 2023 · 1 comment

Comments

@mattiacolombomc
Copy link

While using WeBeep Sync, I've encountered a situation that leads to loss of annotations on PDF files. Here's the sequence of events:

  1. WeBeep Sync downloads a set of PDF slides.
  2. I promptly open the file from the current directory with a PDF editor, especially when I'm in a hurry.
  3. I annotate and take notes on the PDF throughout the lecture.
  4. After the lecture, I save the annotated file.
  5. Post-saving, WeBeep Sync detects that a file is absent and re-downloads the original file, inadvertently overwriting and erasing all my annotations.

It would be immensely helpful if we could find a workaround for this situation.

@toto04
Copy link
Owner

toto04 commented Oct 13, 2023

yep this is definitely the biggest issue with this app right now, im yet to find the perfect solution to this problem, as it is right now the app detects a discrepancy in the "last modified" timestamp and overwrites the file, this is essential to keep files updated if the professor happens to update them, if I were to modify this behavior so that the app only overwrites files with older timestamps than the ones on webeep that still wouldn't be a bullet-proof solution, as if the professor edits the file it would still get overwritten on the user's pc.

I'm not really sure how I would go about detecting user editing of the file, and even if I did I'm also not sure about what's the best way of handling it on the fs, I could either keep an original copy, marking it in some way (like adding "[ORIGINAL]" at the end of the file path) but then I would have to keep track of such a change, or just stop keeping the file synced all together and not download it even if it gets updated on webeep, but then of course new changes of the file from the professor wouldn't be downloaded and that wouldn't be great either.

I am definitely open to suggestions lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants