Bug 431735 - Automatic background color detection for non-fullscreen wallpapers
Summary: Automatic background color detection for non-fullscreen wallpapers
Status: ASSIGNED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Image & Slideshow wallpaper plugins (other bugs)
Version First Reported In: master
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-17 15:45 UTC by jan.claussen10
Modified: 2022-06-10 06:15 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
attachment-8660-0.html (76 bytes, text/html)
2021-01-26 09:00 UTC, jan.claussen10
Details

Note You need to log in before you can comment on or make changes to this bug.
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