Re: Proposal: Dynamic Wallpapers in Plasma

2020-03-11 Thread Vlad Zahorodnii
On 3/11/20 10:45 AM, Kai Uwe Broulik wrote: It appears there's a need for a collection/dict API in QImageReader either way. Uh, maybe. At least, applications such as Gwenview need to know the difference between image sequences and image collections in order to display them correctly. Cheers

Re: Proposal: Dynamic Wallpapers in Plasma

2020-03-11 Thread Kai Uwe Broulik
Hi, According to Qt documentation, if QImageReader::imageCount() returns a positive number, it means that the file contains an animated image. And that isn't even true. An ICO (windows icon file) has all its contained pixmap sizes and depths as a flat list. E.g. in the windows icon thumbnail

Re: Proposal: Dynamic Wallpapers in Plasma

2020-03-11 Thread Vlad Zahorodnii
On 3/11/20 8:08 AM, David Edmundson wrote: We need to tweak the name as we have many wallpapers that are dynamic. This is a specific subset within that. Yes, agreed! I'm open to suggestions. ;-) Code wise, we have both sun positions and clock skew management in the time dataengine already.

Re: Proposal: Dynamic Wallpapers in Plasma

2020-03-10 Thread David Edmundson
We need to tweak the name as we have many wallpapers that are dynamic. This is a specific subset within that. Code wise, we have both sun positions and clock skew management in the time dataengine already. I'm fine for things becoming public qml plugins instead of dataengines using that code, por

Re: Proposal: Dynamic Wallpapers in Plasma

2020-03-10 Thread Vlad Zahorodnii
On 3/10/20 1:27 PM, Kai Uwe Broulik wrote: There's QImageIOHandler::Description which can store arbitrary text data in an image. You reckon QImageIOHandler could be extended to support whatever metadata you need to read/write? Yes, it would be fine for our specific use case. We're interested o

Re: Proposal: Dynamic Wallpapers in Plasma

2020-03-10 Thread Kai Uwe Broulik
Hi, you know I'm a big fan of your dynamic wallpaper work :) > It's worth to point out that there is an upstream patch to add one [2]. Given 5.15 is feature frozen already, I think we won't see this anytime soon. It could be worth a try contacting the author if they're willing to include it i

Proposal: Dynamic Wallpapers in Plasma

2020-03-10 Thread Vlad Zahorodnii
Hi, I would like to propose a dynamic wallpaper plugin for KDE Plasma [1]. As the name suggests, the plugin updates the background continuously to reflect the user's current light situation. Besides being eye-candy, it can be useful for a Night Mode (if Plasma gets one). The HEIF file format