Bug 454839 - Kirigami.Theme.alternateBackgroundColor for Button colorSet does not follow custom theme accent color
Summary: Kirigami.Theme.alternateBackgroundColor for Button colorSet does not follow c...
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.94.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: Not decided
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-04 14:23 UTC by Devin Lin
Modified: 2022-06-04 15:10 UTC (History)
0 users

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


Attachments
Incorrect color in Kirigami Gallery (162.62 KB, image/png)
2022-06-04 14:23 UTC, Devin Lin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Lin 2022-06-04 14:23:09 UTC
Created attachment 149454 [details]
Incorrect color in Kirigami Gallery

SUMMARY

The Kirigami.Theme.alternateBackgroundColor for the Button color set does not follow any custom accent colors set, it uses the original color in the theme. This issue causes https://invent.kde.org/plasma/qqc2-breeze-style/-/issues/18

STEPS TO REPRODUCE
Checkout https://invent.kde.org/sdk/kirigami-gallery/-/merge_requests/22 for kirigami-gallery
1. Go to "Colors" page
2. See "Theme.Button" section
3. Set your system accent color to something other than the default (ex. pink)
4. Observe that alternateBackgroundColor

OBSERVED RESULT
alternateBackgroundColor is the original color in the theme (ex. in breeze it is blue)

EXPECTED RESULT
Should be similar to the accent color defined (ex. pink)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4

ADDITIONAL INFORMATION
Can also be observed through qqc2-breeze-style by clicking buttons.
Comment 1 Devin Lin 2022-06-04 15:10:05 UTC
Closing since issue is actually in plasma-workspace