Bug 402925

Summary: Bad behaviour when opening temporary files, e.g. from KMail or Firefox, and editing
Product: [Applications] okular Reporter: Sven Brauch <mail>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aacid
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sven Brauch 2019-01-06 14:06:33 UTC
Oftentimes, one opens a file from an email attachment or a web browser to review it (e.g. add some notes). When then trying to save the result, this often doesn't work, because the original file is gone. This is super annoying, since all annotations are effectively lost and cannot be saved.

There is no real reason for this behaviour, since Okular still has a valid file descriptor for the original file, and could just use that. It can still display the file as well, after all.

To reproduce, open a file from a KMail attachment, edit it for a while, and then try to save your work.
Comment 1 Albert Astals Cid 2019-01-06 19:12:58 UTC

*** This bug has been marked as a duplicate of bug 402017 ***