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

David Hurka bugzilla_noreply at kde.org
Sun Jul 26 12:28:25 BST 2020


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

--- Comment #46 from David Hurka <david.hurka at mailbox.org> ---
This means reverting 559836c3 would make Okular work nicely with Firefox in
many cases, but probably not all cases.

I think we can agree on some priorities now?
1. Work nicely with Firefox in many cases (I. e. allow late saving)
2. Work nicely with Firefox in all cases
3. Linearized PDFs
4. Don’t use more memory than needed (I. e. allow stream-from-disk)
5. These are the priorities that come to my mind now, maybe you have others?

To implement 3, we would need to bypass ReadOnlyPart::openUrl(), which
downloads the whole file first. Additionally we need to teach browsers to pass
the remote URL to Okular instead of downloading the document first.

To implement 2, we need to create backup files for files which are suspected to
vanish.

2 is in conflict with 3 and 4, so we need to offer configuration options and/or
to actively use swapBackingFile.

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


More information about the Okular-devel mailing list