Kirigami.ImageColors is super expensive. It has to render the wallpaper twice into an offscreen texture, resize that, then go through pixels. On my regular desktop machine over 3.5% of all startup, albeit some offloaded in another thread. That's fine when it's used. It's silly to do this when the feature is disabled / for non-primary screens and we throw the result away. Could we have a think about some ideas for that.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1873
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1008
Git commit 523936395d0f0ea6ce9ec5c0463e4249ce89136d by Fushan Wen. Committed on 30/06/2022 at 13:59. Pushed by fusionfuture into branch 'master'. shell: add new property `usedInAccentColor` It will be used to indicate whether the desktop is used in accent color extraction. M +60 -7 shell/desktopview.cpp M +20 -0 shell/desktopview.h M +21 -5 shell/shellcorona.cpp M +11 -0 shell/shellcorona.h https://invent.kde.org/plasma/plasma-workspace/commit/523936395d0f0ea6ce9ec5c0463e4249ce89136d
Git commit bfbc2973cc9d5b52fd96b05c10ff3ebc4f0d4794 by Fushan Wen. Committed on 30/06/2022 at 14:01. Pushed by fusionfuture into branch 'master'. desktoppackage: load accent color extractor on demand FIXED-IN: 5.26 M +23 -13 desktoppackage/contents/views/Desktop.qml https://invent.kde.org/plasma/plasma-desktop/commit/bfbc2973cc9d5b52fd96b05c10ff3ebc4f0d4794