[okular] [Bug 402017] Cannot save PDF when loaded file has been deleted

David Hurka bugzilla_noreply at kde.org
Fri Jul 24 19:50:44 BST 2020


https://bugs.kde.org/show_bug.cgi?id=402017

--- Comment #40 from David Hurka <david.hurka at mailbox.org> ---
> it moves us away from being able to load as you go PDF linearized files.
Hmm, ok.

Since this is not closed as INTENDED, I assume there must be another solution.

A) Keep the current swapBackingFile etc. mechanisms and make a backup file
condititonally, like in #23:

> I wanted to suggest a size limit for such a backup, which could be linked
> to the Okular memory setting. Suggestion:
> * Low: Backup files below 2MB; if they are not in the home directory
> below 10MB
> * Normal (default): Backup files below 10MB; if they are not in the home
> directory below 20MB
> * Agressive: Backup files below 50MB
> * Greedy: Backup all files which fit into the free memory
(Remote files are always backed up, because of ReadOnlyPart.)

B) Disable editing tools (annotations, forms) when the file is not a remote
file.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list