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

David Hurka bugzilla_noreply at kde.org
Thu Jul 23 10:35:20 BST 2020


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

--- Comment #35 from David Hurka <david.hurka at mailbox.org> ---
Below is the commit that made Okular refuse to save if the file is modified.
Looks like Sven Brauch was basically trying to revert this commit, but we
should first figure out what’s the problem with poppler.

commit 559836c39270506e1f7c7b58bcf6b088a097b246
Author: Albert Astals Cid <albert.astals.cid at kdab.com>
Date:   Fri Nov 17 14:19:12 2017 +0100

    Give warnings when the file is modified externally

    Summary:
    Unfortunately, poppler (the only backed that supports saving) is not able
    to save properly if the file is modified by a third party while it is
opened

    So we give the user a warning saying things went wrong and give him the
option
    to not reload/close, that way if there was something very important in the
annotations
    she added she can try to save them (even if by copy&paste the contents to a
third program)

https://phabricator.kde.org/D8863

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


More information about the Okular-devel mailing list