Bug 429969 - Save to default location and copy to clipboard after screenshot are opposite of expected
Summary: Save to default location and copy to clipboard after screenshot are opposite ...
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 20.08.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-03 13:59 UTC by Jordan JD Peterson
Modified: 2020-12-07 15:28 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jordan JD Peterson 2020-12-03 13:59:36 UTC
SUMMARY
Two configuration items have inverted logic. When checked they do the opposite of what they say:

Under Spectacle->Configuration->General->After taking a screenshot, two items labeled "Copy image to clipboard" and "Autosave the image to the default location" only do as they say when they are unchecked. When checked the program does not do what they say, but when unchecked things work. This seems impractical and confusing. In order to minimize Spectacle from being confusing I'm reporting this opposite than expected behavior.


STEPS TO REPRODUCE
1. Under Configuration->General->After taking a screenshot, check both "Copy image to clipboard & "Autosave the image to the default location"
2. Close the program
3. Use the rectangle shortcut key to capture a region SHIFT+Prt Scr
4. Check default location for saved file and there is none.
5. Uncheck the settings previously checked & repeat screenshot to see image captured and saved correctly

OBSERVED RESULT
No saved screenshot to default location with appropriate setting checked

EXPECTED RESULT
Image expected to be saved

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I noticed that screenshot behavior is ok if the program is on the desktop while taking a screenshot. However while the program is not on the desktop and using hotkeys to capture a region the settings for "When Spectacle is Running" seem to affect the program inversely even when the program is not running. There may be more than a bug here; quite possibly a rework of the configuration logic may be needed.
Comment 1 Antonio Prcela 2020-12-06 14:28:48 UTC
Tried with two different locations and the settings you mentioned (set to checked state), saves fine. 
No matter if Spectacle is running while taking a screenshot or not.

Spectacle v21.03.70
Comment 2 Jordan JD Peterson 2020-12-07 01:06:04 UTC
(In reply to Antonio Prcela from comment #1)
> Tried with two different locations and the settings you mentioned (set to
> checked state), saves fine. 
> No matter if Spectacle is running while taking a screenshot or not.
> 
> Spectacle v21.03.70

Thanks for your test input. I'm using Spectacle 20.08.3 which is the latest on the Arch Linux releases. Perhaps they addressed the issues in later versions.
Comment 3 Nate Graham 2020-12-07 15:28:10 UTC
Indeed. :) Please re-open if you still experience the same issue in version 20.12, which should be released in a few days.