https://bugs.kde.org/show_bug.cgi?id=481741

            Bug ID: 481741
           Summary: When the slideshow plugin changes the wallpaper, the
                    newly selected wallpaper is not updated in the
                    configuration file or DBUS API
    Classification: Plasma
           Product: plasmashell
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Image Wallpaper
          Assignee: plasma-b...@kde.org
          Reporter: o...@geek.co.il
                CC: notm...@gmail.com, qydwhotm...@gmail.com
  Target Milestone: 1.0

SUMMARY
When setting a desktop containment to use the slideshow plugin, when the
slideshow changes the wallpaper image to a new image, it used to be that the
plugin will update the configuration file
~/.config/plasma-org.kde.plasma.desktop-appletsrc with the new image URL stored
in the entry `[Containments][ID][Wallpaper][org.kde.slideshow][General]` under
the key `Image`. Also the DBUS API would answer the call `org.kde.plasmashell
/PlasmaShell org.kde.plasmashell.wallpaper <SCREENNUM>` and will list the
current wallpaper image.

In Plasma 6 this no longer works.

STEPS TO REPRODUCE
1. Set the wallpaper to use the image slideshow plugin, with a few images
available
2. List the current wallpaper image through the DBUS API: `qdbus
org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.wallpaper 0` (assuming the
primary screen)
3. Right click the desktop and choose "Next Wallpaper"
4. List the current wallpaper image again through the DBUS API

OBSERVED RESULT
The output from the DBUS API call remains unchanged

EXPECTED RESULT
The "Image" value in the DBUS API result should change to reflect the new
image.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Testing Edition
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-17-generic (64-bit)
Graphics Platform: Wayland
Processors: 20 × 12th Gen Intel® Core™ i7-12700H
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® Graphics

ADDITIONAL INFORMATION
I tried to figure out the problem on my own, and I have verified that the code
in plasma-workspace/wallpapers/image/plugin/imagebackend.cpp does correctly
call `ImageBackend::saveCurrentWallpaper()`, which does correctly calls the QML
`WallpaperItem.imageView.imageWallpaper.writeImageConfig()`, and that correctly
updates the `Image` field in the config map. But that change isn't propagated
where I expect it to be updated and at this point I don't know where else to
look.

This may be related to the change that fixed bug #461490 but I am unsure how.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to