[okular] [Bug 402017] Cannot save PDF when loaded file has been deleted
mateMat
bugzilla_noreply at kde.org
Wed Jan 6 08:35:20 GMT 2021
https://bugs.kde.org/show_bug.cgi?id=402017
--- Comment #58 from mateMat <mathieu at valat.eu> ---
Yes this bug is a pain, I lost a lot of work in annotations and comments
yesterday.
Since I am not a KDE dev and not a software developper in general, I can only
give you a external observation of this nasty bug.
I think it is a 2 factors conjecture that lead to this bug:
1. The okular annotation tool seems to be detected by the main instance as
modifier from another program/stack.
I have seen that okular is having multiple entries in the program list, this
must be due to the different back-ends that run it.
These back-ends should be considered as the same software in plasma/filekeeper.
This might solve the problem, but the technicalities are beyond my proficiency
in C.Sc.
2. The background job should look for OKULAR_KEEP_FILE_OPEN before purging /tmp
files
What about keeping the file in memory (/tmp) as long as okular has not closed
it and if the file is detected in /tmp during a save, ask to save it in the ~/
folder.
I think it is the way Preview works.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list