Bug 507177 - Spectacle: "Quit after saving or copying" option doesn't work with automatic post-capture actions
Summary: Spectacle: "Quit after saving or copying" option doesn't work with automatic ...
Status: RESOLVED INTENTIONAL
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-17 23:30 UTC by George
Modified: 2025-08-28 17:29 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description George 2025-07-17 23:30:54 UTC
SUMMARY

Spectacle: "Quit after saving or copying" option doesn't work with automatic post-capture actions

STEPS TO REPRODUCE

- Open Spectacle.
- Under the "After taking a screenshot" section, enable an automatic action, for example, "Automatically save the image to the default save location".
- Enable the "Quit after saving or copying" checkbox.
- Take any screenshot.

OBSERVED RESULT

The screenshot is successfully saved to the disk, and a notification appears confirming the action. However, the main Spectacle window remains open and does not close automatically.

EXPECTED RESULT

The Spectacle window should close automatically after the screenshot has been saved, since the "Quit after saving or copying" option is enabled.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 42 (KDE Plasma Desktop Edition), kernel: 6.15.6 (Wayland)
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION

This behavior seems to be specific to the automatic post-capture actions. The "Quit after saving or copying" feature works as expected when performing a manual action. For example, if I take a screenshot and then manually click the "Save" or "Copy" button, the Spectacle window closes correctly. The issue only arises when the save/copy action is triggered automatically by the "After taking a screenshot" settings.
Comment 1 Filip 2025-07-18 10:59:43 UTC
I think this works as it's expected. The option you enabled is "Quit after MANUAL saving or copying", and in the setting under the "After taking a screenshot" section is probably considered as AUTOMATIC because it is.

That's why it doesn't close the window.
Lets keep this open for the Spectacle maintainer to confirm this or maybe add that feature.
Comment 2 Nate Graham 2025-08-28 17:29:30 UTC
It doesn't say
> Quit after saving or copying
It says 
> Quit after *manual* save or copy

Automatic actions are not manual, so the option is doing what it says it will do (i.e. nothing)