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

David Hurka bugzilla_noreply at kde.org
Fri May 15 00:04:26 BST 2020


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

--- Comment #21 from David Hurka <david.hurka at mailbox.org> ---
I still don’t completely understand the issue with FileKeeper. Is it:
a) FileKeeper keeps Okulars own file handle opened, so Okular itself will not
notice changes to the file through *this* handle?
b) FileKeeper opens another file handle, and such an open handle prevents
others (including other Okular code) to monitor the file?

In case of a, the solution would be that FileKeeper opens a new file handle,
right? Then Okular could continue to monitor the file through the old handle.

In case of b and other OSes, it is probably necessary to copy the file to
another temporary file, if considered appropriate.

Besides that, how does saving the file after annotating work? There must be
some function in Poppler to save the loaded and modified file, right?

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


More information about the Okular-devel mailing list