Bug 470267 - Spectacle cannot screenshot itself.
Summary: Spectacle cannot screenshot itself.
Status: RESOLVED NOT A BUG
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: git-master
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL: https://discuss.kde.org/t/how-to-take...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-25 20:22 UTC by `{third: "Beedell", first: "Roke"}`{.JSON5}
Modified: 2023-05-31 18:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description `{third: "Beedell", first: "Roke"}`{.JSON5} 2023-05-25 20:22:49 UTC
STEPS TO REPRODUCE AND OBSERVED RESULT

1. Invoke Spectacle.

2. Attempt to select spectacle by clicking Active Window on its GUI.
3. Spectacle disappears.

2. Attempt to use the Active Window key-bind (by default, LWIN+PRINT) to capture Spectacle.
3. Spectacle forces KWin to redesignate the active window transparently (presumably by disappearing for a timespan of less than a frame).

EXPECTED RESULT

Spectacle should be able to capture itself.

SOFTWARE/OS VERSIONS

Windows: Inapplicable.
macOS: Inapplicable.
Operating System: openSUSE Tumbleweed 20230520
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION

Kernel Version: 6.3.2-1-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 31.2 GiB of RAM
Graphics Processor: AMD Radeon RX 5700
Comment 1 Nate Graham 2023-05-31 18:20:25 UTC
If Spectacle could screenshot its own window in Active Window mode, then it would be impossible for it to screenshot any other window, so I'm afraid this request makes no sense.

If you want to do this, change the behavior of pressing the PrintScreen key while Spectacle is already open to open a new instance, and then that new instance can take screenshots of the old old as you would expect.