Bug 357818 - Spectacle does not confirm overwriting a file
Summary: Spectacle does not confirm overwriting a file
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-10 22:14 UTC by Kai Uwe Broulik
Modified: 2016-01-11 19:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 16.04


Attachments

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