Bug 373216

Summary: Spectacle - save-as dialog attempt to overwrite filename instead of loading it for edit on click
Product: [Applications] Spectacle Reporter: David Rankin <drankinatty>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: attachment 1 - spectacle save-as dialog with name after click/cancel of warning
attachment 2 - immediately thrown warning on click of filename to load name

Description David Rankin 2016-12-03 14:49:25 UTC
Created attachment 102596 [details]
attachment 1 [details] - spectacle save-as dialog with name after click/cancel of warning

Ver 16.08.3
KDE Frameworks 5.28.0
Qt 5.7.0 (built against 5.7.0)

If you need to save a sequence of images, but need to give them different names (e.g. image_1234_buttons.png, image_1234_dialog.png, etc...) the spectacle save-as dialog attempts to overwrite the existing image immediately when you click on the filename in the file save-as dialog instead of loading the filename into the filename edit-box and waiting for the user to modify/save.

This is unexpected behavior and different from the way most of the other file save-as dialogs work in kde (so much for consistency). When you choose save as, the dialog shown in attachment 1 [details] appears. When you click on a filename an immediate warning is thrown to the screen (see attachment 2 [details])

This should not occur and the warning is premature. Instead, clicking on the filename should load the filename in the filename box for the user to edit. If, and only if, the user fails to change the filename and presses save such that the original file would be overwritten -- then the warning dialog should appear.

The spectacle save-as should not actually attempt to write to the file when the filename is clicked to load it for editing.
Comment 1 David Rankin 2016-12-03 14:50:41 UTC
Created attachment 102597 [details]
attachment 2 [details] - immediately thrown warning on click of filename to load name

The warning message thrown when you click on any existing filename in the save-as dialog
Comment 2 Christoph Feck 2016-12-06 12:50:47 UTC

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