Bug 468858 - Press screenshot key to "Open a new Spectacle window" is no longer honored.
Summary: Press screenshot key to "Open a new Spectacle window" is no longer honored.
Status: CONFIRMED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 23.04.0
Platform: Neon Other
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-23 13:31 UTC by 3f15f7ea
Modified: 2024-08-15 13:29 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 3f15f7ea 2023-04-23 13:31:27 UTC
SUMMARY
I frequently use this feature to take several screenshots. When I press the screenshot key now, a single instance of Spectacle is used, which removes any previous capture. And if a capture is canceled, Spectacle closes itself rather than returning to the existing capture.

STEPS TO REPRODUCE
1. Configure Capture Rectangular Region to the Print key in System Settings / Shortcuts.
2. Configure to Open a new window in Configure / General in Spectacle.
3. Press Print key and capture an area.
4. Press Print key again to create another capture.

OBSERVED RESULT
Latest capture discards previous capture.

EXPECTED RESULT
A new window would open with the latest capture rather than discarding previous.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Neon 5.27
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
Using Wayland
Comment 1 Nate Graham 2023-04-24 19:38:28 UTC
Can reproduce. In this case what's probably going on is that the two actions bound to the same shortcut are competing and the global one wins.
Comment 2 3f15f7ea 2023-05-24 15:14:35 UTC
I am using a command assigned to a shortcut to workaround the problem:
/usr/bin/spectacle --region --new-instance

--region is supposed to initiate a region capture, but it doesn't work. The workaround to that is to configure Spectacle to start capture using last used mode upon start.
Comment 3 3f15f7ea 2023-06-14 00:00:58 UTC
The workaround no longer works. The command spawns zombie Spectacle processes. Workaround removed, shortcut key assigned in app, and things work again. However, still stuck at single instance of Spectacle.