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

            Bug ID: 443055
           Summary: Pdf File's Size Changed to 0 Bytes After Sudden Power
                    Outage
           Product: okular
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: okular-de...@kde.org
          Reporter: jlame...@gmail.com
  Target Milestone: ---

I was reading a book using Okular. I made some annotations and then pressed
Ctrl+S to save the changes. Just 2 seconds after i pressed Ctrl+S there was a
power outage and my pc powered off(note pc didn't have any UPS). Next when the
power came back on i started my pc and found that the same pdf file is now
occupying 0 bytes of space. Unfortunately, i was not using git in this case so
i cannot get the old file back.

I have found that there are some xml files under the folder
/home/username/.local/share/okular/docdata/ that correspond to my old pdf. For
example the files are named like:
/home/username/.local/share/okular/docdata/4297319.NetworkProgramming.pdf.xml
/home/username/.local/share/okular/docdata/4298415.NetworkProgramming.pdf.xml
...

My question is that Is there a way to get back my old pdf file back using these
above xml files? 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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to