Created attachment 164447 [details] plasma-theme colors not followed in two little elements SUMMARY *** When I start edit-mode of my Plasma-panel two buttons are the wrong color. Perhaps the color of these buttons follow the application color scheme and not the Plasma-theme colors. I really don't think this is the most importand issue of kf6 but still I tell. *** STEPS TO REPRODUCE 1. right-click on panel 2. open editing mode OBSERVED RESULT attachment EXPECTED RESULT plasma-theme colors are followed SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.91.90 KDE Frameworks Version: 5.248.0 Qt Version: 6.6.1 Kernel Version: 6.2.0-39-generic (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Celeron® J4105 CPU @ 1.50GHz Memory: 7.4 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 600
Oh, sorry, to be more specific... I think (but am not 100% sure) that these buttons use the applicaiton-background-color as background-color and the appliation-foreground-color as foreground-color. I wish you all nice and relaxed Christmas days...
Can confirm. The issue is that we used `KeySequenceItem` in a Plasma UI element, but it's not a Plasma control and it respects desktop styling instead. We'll need to use--and possibly create--a Plasma-themed component for this functionality.
This is one of those sort of sad cases where everything it uses which has desktop styling also has a Plasma equivalent, so in theory we could change the import names at runtime to make it load the Plasma-specific versions of those things, and not have to just copy-paste this code into Plasma. IIRC we didn't manage to get agreement on that as a formal plan, though.
*** Bug 480413 has been marked as a duplicate of this bug. ***
Pre-emptively marking as HI since we're going to get a ton of duplicates for this, given how many distros ship with Breeze Twilight as their default theme.
Actually, it looks like it was present in Plasma 5 too, possibly for quite a while. That lowers the pressure a bit. Still worth doing.
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/373
Git commit 6ed2d41f3872f67a1397ba2aa05eac082889111e by Marco Martin. Committed on 22/02/2024 at 10:22. Pushed by mart into branch 'master'. Always use values from Kirigami.Theme as control palette we can't propagate anymore form control's palette as is not a qpalette anymore a more proper solution will be needed M +5 -6 plugin/kquickstyleitem.cpp https://invent.kde.org/frameworks/qqc2-desktop-style/-/commit/6ed2d41f3872f67a1397ba2aa05eac082889111e
*** Bug 485203 has been marked as a duplicate of this bug. ***