Bug 442875 - Spectacle always opens its window when a screenshot is taken
Summary: Spectacle always opens its window when a screenshot is taken
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: 21.08.1
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-24 06:40 UTC by Riccardo Robecchi
Modified: 2021-10-29 08:31 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.