Bug 271358

Summary: "Save copy as" gives error message when original file got deleted
Product: [Applications] okular Reporter: karl.r.ernst
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 0.12.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description karl.r.ernst 2011-04-20 16:21:25 UTC
Version:           0.12.2 (using KDE 4.6.2) 
OS:                Linux

In contrast to the regular File -> "save as", the option File -> "Save copy as" doesn't work any more when the opened file got deleted (by the user, or e.g. when the file was downloaded by firefox and ff got closed by the user)

Reproducible: Always

Steps to Reproduce:
1. Open a file (only tried pdf)
2. Delete this file
3. "Save copy as" somewhere

Actual Results:  
error message: Cannot copy to target location, document doesn't exist any more
Document not saved

Expected Results:  
Document should be saved without error message
Comment 1 Pino Toscano 2011-04-20 16:30:44 UTC
"Save copy as" does a straight copy from the original location to the chosen destination, without involving the document backend in any what (as it could have no way to save a totally pristine copy, bit by bit).

For the rest, please read the notes in bug #163363.

*** This bug has been marked as a duplicate of bug 163363 ***