Bug 485966 - Implement support for wallpaper portal
Summary: Implement support for wallpaper portal
Status: RESOLVED FIXED
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.0.4
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL: https://flatpak.github.io/xdg-desktop...
Keywords:
: 498855 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-04-22 15:23 UTC by Lorenz Hoffmann
Modified: 2025-09-04 17:29 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.5.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenz Hoffmann 2024-04-22 15:23:08 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
This is a feature request. I am not sure if this belongs here, let me know.

As far as I can tell, Plasma does not implement the wallpaper interface of the freedesktop specification. This would be very useful, as it gives a desktop-independent API to developers.
Comment 1 Lorenz Hoffmann 2024-04-22 15:24:25 UTC
There is already org.kde.plasmashell PlasmaShell/org.kde.PlasmaShell/setWallpaper, so it should be pretty straightforward.
Comment 2 David Edmundson 2024-04-22 15:52:04 UTC
> the wallpaper interface of the freedesktop specification.

What are you referring to?
Comment 3 Bug Janitor Service 2024-05-07 03:45:57 UTC Comment hidden (spam)
Comment 5 Bug Janitor Service 2024-05-22 03:45:25 UTC Comment hidden (spam)
Comment 6 Bug Janitor Service 2024-06-06 03:45:58 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 7 Nicolas Fella 2025-01-18 20:34:51 UTC
*** Bug 498855 has been marked as a duplicate of this bug. ***
Comment 8 Bug Janitor Service 2025-07-30 14:33:17 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/427
Comment 9 David Redondo 2025-07-30 14:35:03 UTC
Started implementing it

Out of interest are you working on a app that wants to do this? What's the use case?
Comment 10 David Edmundson 2025-07-30 15:14:13 UTC
This sort of thing: https://flathub.org/apps/app.drey.Damask https://flathub.org/apps/com.github.calo001.fondo https://flathub.org/apps/in.bharatkalluri.splash

It's a replacement for wallpaper plugins; having an app to do it.
Comment 11 Lorenz Hoffmann 2025-07-31 08:53:01 UTC
I am maintaining https://github.com/oskarsh/Yin-Yang. One of the features is to change the wallpaper with the day/night cycle. Having a desktop-independent way of doing that would make things a lot easier.
Comment 12 David Redondo 2025-09-01 14:13:46 UTC
Git commit 1629d7a6b1f91b37ed987fea4a85fbecb5943f7b by David Redondo.
Committed on 01/09/2025 at 14:13.
Pushed by davidre into branch 'master'.

Implement wallpaper portal

Needs a Dialog but funtionality works

M  +1    -1    data/kde.portal
M  +9    -0    src/CMakeLists.txt
A  +55   -0    src/WallpaperDialog.qml     [License: LGPL(3+eV) LGPL(v3.0) LGPL(v2.1)]
M  +2    -0    src/desktopportal.cpp
A  +105  -0    src/wallpaper.cpp     [License: LGPL(3+eV) LGPL(v3.0) LGPL(v2.1)]
A  +41   -0    src/wallpaper.h     [License: LGPL(3+eV) LGPL(v3.0) LGPL(v2.1)]

https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/1629d7a6b1f91b37ed987fea4a85fbecb5943f7b