KInit will be gone in KF6. However, we still need to update a KF5 KLauncher
for the time being, for KF5-based apps running in a Plasma 6 session. All
we need for that is a copy of the D-Bus interface definition though.
Without this, ninja fails to regenerate at times:
https://gitlab.kitware.com/cmake/cmake/-/issues/21977
It happens because we fail to transfer to the replaced file the
properties that the different macros have set to the original.
The CMake code is careful not to include PipeWire when it is not
installed, however what it *does* include (taskmanagerplugin) still has
a dependency on Screencasting classes, which prior to this are gated
under the PipeWire check.
Since these classes only require Wayland, not PipeWire, I fix the build
error by reducing the CMake check for PipeWire to only add the
PipeWire-specific bits when PipeWire is present, and to build the
screencasting stuff unconditionally.
The ECM logging code is named after PipeWire but doesn't depend on it
either so that is also built unconditionally to avoid build failures
about a missing "logging.h".
BUG:456655
Plasma::Applet::config() returns a "/Configuration" group, but the
dumpCurrentLayoutJS DBus method saves all applets' config from root,
so when we need to save some value through scripting api it will
always prepend "/Configuration"
It's rare but it can happen that thumbnail generation fails, then there would be
no drag pixmap at all while dragging.
For consistency sync the drag pixmap icon size to the actual icon size shown in the view
Plasmoid.self is a relatively recent thing, but it saves code from hacks
such as this property just for the sake of putting an onChanged handler
for it.
This is a common snippet of code in applets. It prevents applet from
re-expanding again when user clicks on the compact representation when
the applet is already expanded and located on a desktop containment.
See also: 79bcefdd35
FIXED-IN: 5.24.7 5.25.4 5.26
PreviewWidget has a timer that advances to the next frame of the current
cursor.
"current" can change in setTheme, we need to stop the animation timer
BUG: 456526
This one-liner fix is from Aleix Pol, and fixes the following:
- Crashes when deleting panels with Panel Spacer instances on them
(as described in the bug ID named above)
- Potentially endless crash looping when running `plasmashell --replace`
while a Panel Spacer is on at least one panel
Co-authored-by: Aleix Pol <aleixpol@kde.org>
BUG: 450663
FIXED-IN: 5.25.3
This was incorrectly put behind Mode::Apply in commit 34e2541b
("kcms/lookandfeel: allow users to choose what part of a Global Theme to apply")
BUG: 456275