[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 13:47:35 BST 2021


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

--- Comment #1 from David Hurka <david.hurka at mailbox.org> ---
> My question is that Is there a way to get back my old pdf file back
> using these above xml files?

No, but...

> For example, i have an old pdf which is the same as the old pdf
> except that this one doesn't have any annotations in it. So Will
> it be possible to add these xml information into that file(that
> doesn't have any annotation)?
> 
> I am using Ubuntu 18.04 x86_64 and Okular 1.3.3

This old Okular version stored annotations in these XML files. So if you find
that one of these XML files contains your annotations, you only need to get the
original PDF file back. Then the annotations will either appear magically in
the PDF file, or you can figure out which new XML file is created for this new
PDF file, and copy the annotations from the old XML file to the new XML file.

To get the annotations actually in the PDF file, you will need to install a
newer version of Okular. It should offer you to migrate the annotations from
the XML file to the PDF file.

I am surprised that the PDF file has been lost. Your Okular version should
theoretically not modify it...

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


More information about the Okular-devel mailing list