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

            Bug ID: 394409
           Summary: "Reloading" wallpaper from script
           Product: plasmashell
           Version: 5.12.4
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Desktop Containment
          Assignee: se...@kde.org
          Reporter: bharadwaj.raju...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

Action
------

1. Save a random image as "~/test.png".

2. Run the following Plasma Shell script:

    var allDesktops = desktops();
    print (allDesktops);
    for (i=0;i<allDesktops.length;i++) {
        d = allDesktops[i];
        d.wallpaperPlugin = "org.kde.image";
        d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");
        d.writeConfig("Image", "file:///home/USERNAME/test.png");
    }

3. We see that it changes the wallpaper.

4. Download another random image as "~/test.png", replacing the old one.

5. Run above script again.



Expected Behaviour
------------------

The wallpaper is changed, i.e. Plasma reloads the wallpaper.



Actual Behaviour
----------------

The wallpaper is the same as the original "~/test.png", and not the new one.

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

Reply via email to