Summary: | New capture mode: Window by properties | ||
---|---|---|---|
Product: | [Applications] Spectacle | Reporter: | John <john+kde_org> |
Component: | General | Assignee: | Boudhayan Gupta <me> |
Status: | REPORTED --- | ||
Severity: | wishlist | CC: | kde, noahadvs |
Priority: | NOR | ||
Version First Reported In: | 19.12.3 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Hall of mirrors effect when spamming the PrtScr button |
Description
John
2022-02-11 01:28:22 UTC
I'm not sure about putting this in the UI since it seems very technical and niche, but maybe we could add it as a CLI option. The option could take a window ID argument for the exact window, but it would only work with KWin. The ID could be found by using `qdbus org.kde.KWin /KWin org.kde.KWin.queryWindowInfo` and looking for something like `uuid: {fac6b23b-6156-4079-ab41-9f2511bd41db}` in the output. If we wanted to add it to the UI, maybe we could add an option to do a delayed capture after selecting a window interactively. Of course in order for this to work, the exact instance of the window you got the ID for has to still be alive. If you want to capture something like a menu and the menu disappears, the ID will be invalid next time you open the menu. If you want to capture by resource name, application class name, window title, desktop file name, or something else, we'll probably have to add some new screenshot DBus API to KWin. |