Bug 191928 - Ask for confirmation when overwriting existing .okular file
Summary: Ask for confirmation when overwriting existing .okular file
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.8.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-07 18:27 UTC by Vitor M. Pereira
Modified: 2009-12-26 19:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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