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

Albert Astals Cid bugzilla_noreply at kde.org
Thu May 14 20:53:04 BST 2020


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

--- Comment #19 from Albert Astals Cid <aacid at kde.org> ---
>  the handle is kept for the _old_ file, so when some PDF producer (latex, etc) creates a new file by rename()ing the new temporary file on the old name (which is an atomic operation), you don't notice that.
> At least, I remember there were problems in the results you get from file watching because of this.

This could be workaroundable (or already is?) by watching the parent dir as the
parent dir would see the file disappear and be created. I remember some case in
which this was neeed and i think it was working, but as said, needs somebody to
test it extensively (ideally adding autotests :))

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


More information about the Okular-devel mailing list