Bug 472727

Summary: Standalone KRunner has wrong colors with mismatched Plasma and app color schemes
Product: [Plasma] krunner Reporter: Nate Graham <nate>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: alexander.lohnau, natalie_clarius
Priority: NOR Keywords: qt6
Version: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=472844
https://bugs.kde.org/show_bug.cgi?id=480254
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Wrong text color

Description Nate Graham 2023-07-28 04:32:37 UTC
Created attachment 160575 [details]
Wrong text color

STEPS TO REPRODUCE
1. Use Breeze Twilight Global theme, or else manually set Breeze Dark Plasma style and Breeze Light color scheme
2. Open KRunner


OBSERVED RESULT
Dark text on dark background. See attached screenshot


EXPECTED RESULT
Light text on dark background


ADDITIONAL INFORMATION
Does not affect the Milou widget, so perhaps the here is that the standalone KRunner binary is missing the magic engine property to use the Kirigami Plasma style plugin. See https://invent.kde.org/plasma/kscreen/-/commit/2f824de4550fbde576159867a5b782502d7c79e2 for details.
Comment 1 Marco Martin 2023-07-31 16:08:37 UTC
Git commit 000f3c875f329102b5ac443806f5291f804a244d by Marco Martin.
Committed on 31/07/2023 at 18:08.
Pushed by mart into branch 'master'.

Use the kirigami Plasma style in krunner

also in krunner since uses the plasma theme, set the property
to load the proper kirigami theme plugin

M  +1    -0    krunner/view.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/000f3c875f329102b5ac443806f5291f804a244d