Bug 429841 - Spectacle takes screenshot automatically when "On Click" is set on X11
Summary: Spectacle takes screenshot automatically when "On Click" is set on X11
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 20.08.3
Platform: Arch Linux Linux
: HI minor
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2020-11-30 09:00 UTC by gudvinr+kde
Modified: 2021-12-28 22:10 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gudvinr+kde 2020-11-30 09:00:47 UTC
SUMMARY

When you open Spectacle app it takes screenshot even if "On Click" is set so whenever I try to change its configuration it takes screenshot and I need to delete it after.


STEPS TO REPRODUCE
1. Launch spectacle
2. Set Delay: "On Click" = true
3. Close spectacle
4. Launch spectacle

OBSERVED RESULT
Screenshot of the whole screen space is taken

EXPECTED RESULT
No screenshot

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2
Kernel Version: 5.4.79-1-lts
OS Type: 64-bit

ADDITIONAL INFORMATION
It may be related to #427205 because it seems that spectacle ignores settings from previous launch.
Comment 1 Antonio Prcela 2021-01-23 20:27:45 UTC
This is not a bug per se, jsut the way Spectacle works when it's launched via gui.
This would probably be a mayor use-case change for most users if one would launch Spectacle and no Screenshot would been taken.
Do we want to change it? @kde@david-redondo.de and /or @nate@kde.org ?
Comment 2 gudvinr+kde 2021-01-25 19:39:08 UTC
(In reply to Antonio Prcela from comment #1)
> This is not a bug per se, jsut the way Spectacle works when it's launched
> via gui.

Why use "On click" option then if there's no difference? It may just be set as default so those who used to it won't notice this.
Comment 3 Antonio Prcela 2021-12-28 21:46:38 UTC
Considering that we have the option "When launching Spectacle", where one can choose what happens when Spectacle is launched, this can be closed.
@gudvinr would that above mentioned option solve this for you since you can set it to "Do not take a screenshot automatically"?
Comment 4 gudvinr+kde 2021-12-28 21:56:45 UTC
(In reply to Antonio Prcela from comment #3)
> Considering that we have the option "When launching Spectacle", where one
> can choose what happens when Spectacle is launched, this can be closed.
> @gudvinr would that above mentioned option solve this for you since you can
> set it to "Do not take a screenshot automatically"?

I see that X11 was added in the meantime. Is this behaviour not present in wayland?

As for your question, it does solve my issue, yes. But I still find that very confusing for newcomers why the heck spectacle takes screenshot on launch if there's "on click" enabled right there.
And even if "on click" option isn't set spectacle takes screenshot right away, without delay that also set.

It is very counterintuitive and UI doesn't explain WHY it behaves like that.
Comment 5 Antonio Prcela 2021-12-28 22:10:33 UTC
I can only assume the idea behind the default setting to take an screenshot immediately. Now that we have an appropriate setting, the user can choose on it's own.
If we want to change the default and document it in the docs of Spectacle is up for a debate. Currently the handbook states:
"Spectacle grabs an image of your entire desktop immediately after it is started, but before it displays itself on screen. This allows you to quickly create full-desktop screenshot images."