Bug 191928

Summary: Ask for confirmation when overwriting existing .okular file
Product: [Applications] okular Reporter: Vitor M. Pereira <vmpereir>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 0.8.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vitor M. Pereira 2009-05-07 18:27:34 UTC
Version:           0.8.2 (using 4.2.2 (KDE 4.2.2), 4.2.2-12.fc10 Fedora)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27.21-170.2.56.fc10.i686

When exporting a document as a "Document Archive", okular doesn't ask for confirmation if a file with the same name already exists. 

For consistency (and to prevent unintended over-writes) I think okular should ask for confirmation when overwriting an existing file.
Comment 1 Pino Toscano 2009-12-26 19:48:44 UTC
SVN commit 1066333 by pino:

Use the KDE 4.4 way to ask for the "exists, overwite?" confirmation dialog.
This allows to:
a) get rid of our prompts done in two places
b) really make sure it is being asked in any saving context (eg for .okular files)
BUG: 191928


 M  +9 -15     part.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1066333