The feature adds a runtime dependency on D29407 Plasma 5.20.
Why do we introduce the distinction between delayed and immediate? Is there a difference between delayed with 0 seconds and immediate? Also every screenshot triggered by the gui arrives at spectacle core with delay <= 0 because ksmainwindow waits the delay for the taskmanager animation and animating the button.
This is ready to land except I need either to :
Adding the version check has my preference but I don't know how to add a runtime plasma version check.
Merging separately the line X-KDE-DBUS-Restricted-Interfaces=org_kde_kwin_effect-screenshot is enough to not break current functionality once D29407 has landed, it will already allow to take screenshots without click confirmation.
Separate merge request : https://invent.kde.org/graphics/spectacle/-/merge_requests/3
(and the .arcconfig file will be removed before merging ;) )
|2 ↗||(On Diff #83223)|
Add to re-add this to post a diff, will remove before merging.
I am abandonning https://invent.kde.org/frameworks/kdbusaddons/-/merge_requests/1/diffs.
Adding the plasma version check here is not a big deal.
The code is pretty much ready and will land along with D29407 shortly unless I have some feedback.