Bug 345836

Summary: Annotations in pdf documents should be automatically saved to a temporary file.
Product: [Applications] okular Reporter: ssameer+bugs
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: wishlist CC: jim, jonathan.verner, kde.lwzr1, simgunz
Priority: NOR    
Version First Reported In: 0.20.2   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description ssameer+bugs 2015-04-03 19:13:04 UTC
If a user is adding annotations to a pdf file and Okular closes without saving the file, the annotations are permanently lost and cannot be recovered. This can happen if the user just forgets to save them, or Okular or the desktop or the OS crashes / freezes. I've lost annotations by simply forgetting to save them, or when Linux was unable to resume properly from sleep. Adobe reader automatically saves annotation changes to a temperoary file every X minutes (usually 5) and can recover unsaved changes the next time the document is opened. This would be  avery useful feature for Okular and can save users a lot of lost work.

Reproducible: Always
Comment 1 Jonathan Verner 2015-06-03 15:58:59 UTC
Okular (as of version 0.20.2) warns a user about unsaved annotations when closing the document. This doesn't help with the OS crash / freeze case though.
Comment 2 Thibault Molleman 2022-07-21 07:52:37 UTC
I was thinking of using Okular for annotation like this, but looking elsewhere because this feature isn't implemented. This is really critical.