| Summary: | "On click" feature is available in the Wayland session but doesn't work | ||
|---|---|---|---|
| Product: | [Applications] Spectacle | Reporter: | Patrick Silva <bugseforuns> |
| Component: | General | Assignee: | Boudhayan Gupta <me> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | justin.zobel, kde, nate, noahadvs |
| Priority: | NOR | Keywords: | wayland-only |
| Version First Reported In: | 22.08.2 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/spectacle/commit/3daf87bed4d5ee9a04fca581ebbe0c05e98aacbb | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Patrick Silva
2021-01-23 22:54:42 UTC
Confirmed on 22.08.2 on Fedora 37. The reason why is that PlatformKwinWayland2 (a platform abstraction class that Spectacle uses) currently doesn't support "On Click". I'm not sure why "On Click" isn't supported. Maybe a KWin dev would know since KWin is responsible for capturing the screen? We should just hide it on Wayland until it works, or can work. (In reply to Nate Graham from comment #3) > We should just hide it on Wayland until it works, or can work. In the new UI, it is disabled when the environment doesn't support both on click and immediate modes. Is that good enough? It doesn't seem to be working, then. On Wayland, I see the checkbox, and it's enabled, but it doesn't do anything. A possibly relevant merge request was started @ https://invent.kde.org/graphics/spectacle/-/merge_requests/181 This would need to be implemented inside KWin Actually it is already in KWin from what I am seeing, just need to hook it up Although not fully https://invent.kde.org/plasma/kwin/-/blob/master/src/effects/screenshot/org.kde.KWin.ScreenShot2.xml#L235 Git commit 3daf87bed4d5ee9a04fca581ebbe0c05e98aacbb by David Redondo. Committed on 17/01/2023 at 10:33. Pushed by ngraham into branch 'master'. Fix on click checkbox enablement The parentheses are needed otherwise the comparison is done first. M +1 -1 src/Gui/CaptureSettingsColumn.qml https://invent.kde.org/graphics/spectacle/commit/3daf87bed4d5ee9a04fca581ebbe0c05e98aacbb |