Bug 442875

Summary: Spectacle always opens its window when a screenshot is taken
Product: [Applications] Spectacle Reporter: Riccardo Robecchi <sephiroth_pk>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED FIXED    
Severity: normal CC: antonio.prcela, kde, nate
Priority: NOR    
Version First Reported In: 21.08.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Riccardo Robecchi 2021-09-24 06:40:26 UTC
SUMMARY
Spectacle always opens a window when a screenshot is taken, even when the "print screen" shortcut is assigned to "take a screenshot" and not to "open Spectacle". This behaviour is undesirable, as it means I can't take multiple screenshots in a row without having to manually minimise the Spectacle window.

STEPS TO REPRODUCE
1. Press the "print screen" key.

OBSERVED RESULT
A Spectacle window opens.

EXPECTED RESULT
The file is saved to its default location, but no Spectacle windows open.

SOFTWARE/OS VERSIONS
Linux: KDE neon
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 Antonio Prcela 2021-10-27 21:18:22 UTC
https://bugs.kde.org/show_bug.cgi?id=443060

seems to bi similar to this
Comment 2 Antonio Prcela 2021-10-28 21:28:00 UTC
(In reply to Antonio Prcela from comment #1)
> https://bugs.kde.org/show_bug.cgi?id=443060
> 
> seems to bi similar to this

@Riccardo - would the above mentioned Shutter mode be acceptable?

See also: https://invent.kde.org/graphics/spectacle/-/merge_requests/89
Comment 3 Riccardo Robecchi 2021-10-29 08:31:18 UTC
(In reply to Antonio Prcela from comment #2)
> (In reply to Antonio Prcela from comment #1)
> > https://bugs.kde.org/show_bug.cgi?id=443060
> > 
> > seems to bi similar to this
> 
> @Riccardo - would the above mentioned Shutter mode be acceptable?
> 
> See also: https://invent.kde.org/graphics/spectacle/-/merge_requests/89

Hello Antonio! That would certainly work in this use case, but the bug I was reporting here is a bit different: despite the shortcut being just "take a screenshot", Spectacle opened. That normally didn't happen and it doesn't happen now, so apparently it is something that has been fixed in the meantime. If I press the "print screen" button on my keyboard now, it works as expected.
Thanks for your help, I am marking the bug as fixed.