Bug 357818

Summary: Spectacle does not confirm overwriting a file
Product: [Applications] Spectacle Reporter: Kai Uwe Broulik <kde>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 16.04

Description Kai Uwe Broulik 2016-01-10 22:14:03 UTC
It will blatantly the file chosen.

Reproducible: Always

Steps to Reproduce:
1. Start Spectacle
2. Click arrow next to "Save & Exit"
3. Choose "Save As"
4. Choose a file that already exists

Actual Results:  
File will be overwritten without warning

Expected Results:  
It will ask for confirmation before overwriting the file
Comment 1 Boudhayan Gupta 2016-01-11 19:07:10 UTC
Git commit 33aa1dd69151c0067361bf6d1eef40cd6c752559 by Boudhayan Gupta.
Committed on 11/01/2016 at 18:57.
Pushed by bgupta into branch 'master'.

Fix Save As, switch to Qt inbuilt Save As dialog
* Remember last save as location
* Correctly select mimetype and filename extension
* Confirm on overwrite
Related: bug 357817
FIXED-IN: 16.04

M  +1    -0    src/CMakeLists.txt
M  +15   -17   src/ExportManager.cpp
A  +34   -0    src/SpectacleConfig.cpp     [License: UNKNOWN]  *
A  +42   -0    src/SpectacleConfig.h     [License: UNKNOWN]  *

The files marked with a * at the end have a non valid license. Please read: http://techbase.kde.org/Policies/Licensing_Policy and use the headers which are listed at that page.


http://commits.kde.org/kscreengenie/33aa1dd69151c0067361bf6d1eef40cd6c752559