mirror-kde-plasma-desktop/imports/activitymanager
Nicolas Fella 3d1febd381 [activitymananger] Fix activity background image
The code looks into the appletsrc file to load the wallpaper for a given
activity.

However that only worked when a custom image was specified by full path.

When any of the built-in wallpapers is used the Image key instead points
to the wallpaper package folder, not any specific image.

Also when the default wallpaper is used the key is empty.

Fix all of these cases by selecting one image when given a folder, and
fall back to the default wallpaper (called Next) when no config is present.

Also when using a color background use the actual default color instead of black

BUG: 378693
2026-09-08 11:54:03 +02:00
..
CMakeLists.txt port to renamed kactivities 2023-11-23 22:36:47 +01:00
Messages.sh Make activity manager translatable 2016-03-26 15:11:52 +03:00
sortedactivitiesmodel.cpp [activitymananger] Fix activity background image 2026-09-08 11:54:03 +02:00
sortedactivitiesmodel.h imports/activitymanager: Drop obsolete X11 bits 2026-06-04 15:16:31 +02:00
switcherbackend.cpp imports/activitymanager: Use PreviewJob::generated (QImage) for thumbnail 2026-08-25 06:24:09 +00:00
switcherbackend.h acvitiymanager: Drop invisible window hack 2025-10-01 14:14:36 +02:00