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

           Summary: okular creates(erases) empty file when "Save As..." to
                    original file
           Product: okular
           Version: 0.8.2
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: okular-devel@kde.org
        ReportedBy: cobra...@chartermi.net


Version:           0.8.2 (using 4.2.2 (KDE 4.2.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.28-13-generic

okular creates(erases) empty file when "Save As..." to original file

Steps to reproduce:
1. Open a PDF file with Okular.
2. Select File->Save As...
3. In the save dialog, select the same file which was loaded.
4. Viewer will go gray and message will show that document is being reloaded
but document will not reload.
5. Check the file's properties with your favorite file manager. Size is now
zero, the original PDF has been lost.

Expected behavior:
Okular should save the file to the opened file just as it would if Save As...
was applied to any other file name. File should reload fine.

Purpose:
Sometimes it is nice to use a viewer to load and re-write PDF files to ensure
that PDFs which may have buggy code are uniform and can be read on other
viewers.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel

Reply via email to