Bug 431735

Summary: Automatic background color detection for non-fullscreen wallpapers
Product: [Plasma] plasmashell Reporter: jan.claussen10
Component: Image & Slideshow wallpaper pluginsAssignee: Marco Martin <notmart>
Status: ASSIGNED ---    
Severity: wishlist CC: nate, plasma-bugs-null, qydwhotmail
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: attachment-8660-0.html

Description jan.claussen10 2021-01-17 15:45:02 UTC
SUMMARY
When you use the "Picture of the day" function that automatically switches wallpapers, you have to set a background color. It would be nice if this background color could be automatically found. At least it should be able to toggle between black and white - so determine whether the wallpaper is predominantly dark or light. 

This way it would be possible to fully use the icon painting feature of the Latte Dock, which paints the icons black or white relative to the background color.


KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Comment 1 jan.claussen10 2021-01-18 16:26:53 UTC
I actually don't understand what this background color is needed for. Latte actually can determine the predominant color of a picture itself. This works with all other wallpapers but not in this Picture of the Day mode, because it will use the background color instead of the wallpaper.

So I think the easiest way would be to get rid of this background color.
Comment 2 Nate Graham 2021-01-26 06:20:17 UTC
FWIW you don't have to set a background color; only when using the "Centered" or "Scaled, keep proportions" settings.
Comment 3 jan.claussen10 2021-01-26 09:00:03 UTC
Created attachment 135198 [details]
attachment-8660-0.html

I always have to set a background color. No matter what I choose.
Comment 4 Fushan Wen 2022-06-10 01:46:04 UTC
Makes sense
Comment 5 Bug Janitor Service 2022-06-10 06:15:02 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1825