[Okular-devel] [Bug 245243] New: Okular fails to export "Document Archive" (with symbolic link)

Vilius vn at norma.lt
Tue Jul 20 17:58:59 CEST 2010


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

           Summary: Okular fails to export "Document Archive" (with
                    symbolic link)
           Product: okular
           Version: 0.10.2
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: vn at norma.lt


Version:           0.10.2 (using KDE 4.4.2) 
OS:                Linux

When I open PDF document via symbolic link and export annotations as "Document
Archive", Okular is unable to open the file I got in result.

Reproducible: Always

Steps to Reproduce:
1. Create a symbolic link (in Linux) for any PDF document.
2. Start Okular, open the link file (not the original PDF), add some
annotations, highlights, etc.
3. Select Export As --> Document Archive, enter file name, click Save.
Exporting completes with no messages.
4. Try to open the exported file.

Actual Results:  
The document fails to open with error message: "Could not open
file:///path/link.okular"
Size of the exported file (couple of kilobytes) clearly shows that the original
PDF is not included in the archive.

Expected Results:  
The exported archive should open normally. The original PDF document (not it's
link) should be written into archive.

This bug may cause loss of all annotations if user decides to delete the link
file (assuming that the annotations are saved in the archive).

Generally it's a bit confusing to have different sets of annotations when
opening the same document via link and directly. What's exactly how I
discovered this bug.
In my opinion, the way Okular handles linked documents should be reconsidered.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list