News for hackers. Stuff that matters.
Re:KDE Plasma Is Not a Desktop Environment by account42 on Thursday April 13, 2023 @04:38AM (#35552633)
> The wallpaper - which is modular, there are various wallpaper services you can switch between. Different shells can handle wallpapers in a different way, with different defaults; as an example, a Plasma shell meant for e-ink devices (which, by the way, is in my to-do-before-mid-july-list) probably wants to have an always-white wallpaper, which is provided by the “org.kde.color” plugin.

And before this abstraction that 0.1% of people need we could have different wallpapers for different desktops. Now we can't.

That you need a plugin to show a solid color is simply absurd.

Re:KDE Plasma Is Not a Desktop Environment by Gualdrapo on Thursday April 13, 2023 @04:47AM (#35552698)
About the plugin part - to be fair, and as far as I know, it is not a "plugin" in the same way of, say, Gnome extensions - I guess OP meant more than it is a module. It actually comes by default in every Plasma install.

And though am pretty sure you made that 0.1 statistic out of thin air, also can bet if the 'one wallpaper per virtal desktop' part were working, a bigger percentage of people would be using a solid background color. Maybe even more than the people who would be using one wallpaper per virtual desktop.

Re:KDE Plasma Is Not a Desktop Environment by nextaccountic on Thursday April 13, 2023 @05:11AM (#35552883)
I can have different wallpapers for different activities. Why can't KDE have different wallpapers for different desktops? Is this just a missing feature? Perhaps it can be re-enabled by a Plasma Applet?
Re:KDE Plasma Is Not a Desktop Environment by dvdkon on Thursday April 13, 2023 @05:13AM (#35552898)
When you need to have different options showing complex things as a wallpaper, it's best to factor them out as plugins, or at least separate implementations of some interface in their own files. When that happens, why not also use that interface for the basic functionality, ensuring a common code path? You don't want "enum WallpaperStyle { Image, Color, Plugin }" when you can have just "WallpaperPlugin".
Re:KDE Plasma Is Not a Desktop Environment by usrusr on Thursday April 13, 2023 @06:51AM (#35553543)
Sounds like an abstraction not far enough: if you want that single-color optimization, make it an image format that only allows 1x1. It would work whereever a reader for that image format exist, but code that's eager to take performance shortcuts would be free to add a little optimization. Same for the configuration UI, an "image or color picker" would be fully transparent to image picker only.

Bonus points if the specification of that image format allows itself the impertinence of annexing the file name: "if the file name starts with a hash sign and is followed by three or six hex digits, the color of the pixel is that color, contents of the file are considered a comment"