[plasmashell] [Bug 394409] "Reloading" wallpaper from script

2018-05-22 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=394409

Christoph Feck  changed:

   What|Removed |Added

 Resolution|--- |WORKSFORME
 Status|UNCONFIRMED |RESOLVED

--- Comment #6 from Christoph Feck  ---
Thanks for the update; closing.

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

[plasmashell] [Bug 394409] "Reloading" wallpaper from script

2018-05-21 Thread Bharadwaj Raju
https://bugs.kde.org/show_bug.cgi?id=394409

--- Comment #5 from Bharadwaj Raju  ---
Yes, please close it now.

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

[plasmashell] [Bug 394409] "Reloading" wallpaper from script

2018-05-21 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=394409

--- Comment #4 from David Edmundson  ---
Cool, can I close this?

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

[plasmashell] [Bug 394409] "Reloading" wallpaper from script

2018-05-21 Thread Bharadwaj Raju
https://bugs.kde.org/show_bug.cgi?id=394409

--- Comment #3 from Bharadwaj Raju  ---
Yes, that seems to work. Thank you.


File watching for the wallpaper would be an interesting course of action, but I
think that'll just spend additional system resources for little benefit. Unless
there's a non-polling, easy-on-disk/cpu-usage file watching solution that
exists?

Perhaps we could just have Plasma reload the wallpaper image every
(configurable) N seconds?


Notes
-

If one sets the image to a non-existent one, inaccessible one, or just an empty
string as given above, Plasma simply keeps using the wallpaper it had
previously, until a valid image is set.

I haven't tested what happens if you delete the image set as wallpaper, and
then restart the computer or log-out-log-in. Probably a blank wallpaper will be
displayed.

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

[plasmashell] [Bug 394409] "Reloading" wallpaper from script

2018-05-21 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=394409

David Edmundson  changed:

   What|Removed |Added

  Component|Desktop Containment |Image Wallpaper
   Assignee|se...@kde.org   |notm...@gmail.com
 CC||k...@davidedmundson.co.uk

--- Comment #2 from David Edmundson  ---
>d.writeConfig("Image", "file:///home/USERNAME/test.png");

That as Rex says, will just no-op. Changing that is not an option.

However, we can agree there should be 



Does 

writeConfg("Image", "")
writeConfg("Image", "file://blah")


work? 

It'll be only one sync.

Failing that maybe we can look at putting file watching into the wallpaper.

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

[plasmashell] [Bug 394409] "Reloading" wallpaper from script

2018-05-18 Thread Rex Dieter
https://bugs.kde.org/show_bug.cgi?id=394409

Rex Dieter  changed:

   What|Removed |Added

 CC||rdie...@gmail.com

--- Comment #1 from Rex Dieter  ---
I suspect one possibility this doesn't work is because the config doesn't
actually change, so it's not reloaded.

If so, a workaround is to use a differently named file each time, that should
help ensure that 'writeConfig' actually changes

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