[okular] [Bug 443055] Pdf File's Size Changed to 0 Bytes After Sudden Power Outage

David Hurka bugzilla_noreply at kde.org
Tue Sep 28 23:28:01 BST 2021


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

--- Comment #3 from David Hurka <david.hurka at mailbox.org> ---
If you say you created at least X bytes worth of annotations, but you can’t
find a docdata file which is bigger than X bytes, I am afraid, you can not
recover the annotations. :(

Except there is another location where Okular stored annotations in these days.
It was definitifely an XML file. But as far as I remember, it was these docdata
files.

> > I am surprised that the PDF file has been lost. Your Okular version should
> > theoretically not modify it...
> 
> Yes if instead a temporary file were used to write and checked if the write
> was successful this problem could have been avoided.

Okular should theoretically open a PDF file only for reading, not for writing.
So it should stay in its state on disk.

But actually I remember a bug report where a PDF file has shrunken to 0 bytes
after a power outage.

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


More information about the Okular-devel mailing list