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

Nate Graham bugzilla_noreply at kde.org
Thu Jun 8 20:24:46 BST 2023


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

--- Comment #77 from Nate Graham <nate at kde.org> ---
Git commit 99600667d44ce0002b1cb1f0dfb3db3c634bc4c6 by Nate Graham.
Committed on 08/06/2023 at 15:21.
Pushed by ngraham into branch 'master'.

Don't stop or warn if the edited file was deleted on disk

If an open  file with unsaved changes was deleted on disk, Okular
currently warns the user about it (in master) or prevents them from
saving it (in 23.04). But in both cases this is unnecessary; if the
open file was deleted on disk when the user tries to save changes,
Okular can simply save to its file path and re-create it, with no
risk of data loss or stomping on anyone else's work. So it should do
that.

M  +8    -3    part/part.cpp

https://invent.kde.org/graphics/okular/-/commit/99600667d44ce0002b1cb1f0dfb3db3c634bc4c6

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


More information about the Okular-devel mailing list