Bug 505851

Summary: With "Quit after manual save or copy", manually saving or copying in Rectangular Region mode flashes a window which disappears immediately
Product: [Applications] Spectacle Reporter: Abdullah Radwan <abbodmar>
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: CONFIRMED ---    
Severity: minor CC: bizyaev, kde, nate, yanexbug
Priority: NOR    
Version First Reported In: 6.4.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Abdullah Radwan 2025-06-20 15:22:38 UTC
SUMMARY
After selecting a region and clicking on the Copy button, Spectacle window appears then disappears immediately after.

STEPS TO REPRODUCE
1. Launch Spectacle in rectangular capture mode.
2. Select a region.
3. Click the Copy button

OBSERVED RESULT
Spectacle window appears then disappears immediately.

EXPECTED RESULT
Spectacle window shouldn't appear at all.

SOFTWARE/OS VERSIONS
Operating System: Fedora 42 KDE Plasma
KDE Plasma Version: 6.4.0
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION
This started happening after upgrading to Plasma 6.4.0 on Fedora 42 KDE Plasma.
Comment 1 Nate Graham 2025-06-20 16:31:40 UTC
Can reproduce' re-titling for clarity regarding the conditions under which this happens.
Comment 2 Ilya Bizyaev 2025-06-21 16:48:17 UTC
In general, what is the intended effect of this option? For me, Spectacle closes after copying or saving the image regardless of this checkbox, the only difference is this extra flash.

Or do I misunderstand the meaning of “manual”? Is there a more manual way to do these than by clicking the buttons?
Comment 3 Noah Davis 2025-06-22 01:10:48 UTC
(In reply to Ilya Bizyaev from comment #2)
> In general, what is the intended effect of this option? For me, Spectacle
> closes after copying or saving the image regardless of this checkbox, the
> only difference is this extra flash.
> 
> Or do I misunderstand the meaning of “manual”? Is there a more manual way to
> do these than by clicking the buttons?

It only matters when launching Spectacle without a shortcut that specifies a mode. For instance, if you do Meta+Shift+PrintScreen for a rectangle screenshot and press the Copy button, spectacle will quite regardless of the checkbox. If you just launch spectacle from kickoff, spectacle will only quit after clicking Copy if you have the checkbox enabled.