[okular] [Bug 402017] Cannot save PDF when loaded file has been deleted
Sven Brauch
bugzilla_noreply at kde.org
Mon Jun 15 23:05:23 BST 2020
https://bugs.kde.org/show_bug.cgi?id=402017
--- Comment #29 from Sven Brauch <mail at svenbrauch.de> ---
I was repeatedly bitten by this issue in the past as well and I don't quite get
it. Can Okular not simply keep an open file handle for the document, which
results in ext4 not removing the data from the disk, even if the original file
is removed (i.e. like file handles always work on Linux)?
As a fact, that is already the case (as I think Albert considered a few
comments above), as you can see in lsof. Okular can also still load the data
for not-yet-rendered pages, so the data is clearly there and okular can access
it. If it is not possible to re-use that file handle from the save logic, maybe
just create another one?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list