Bug 454839

Summary: Kirigami.Theme.alternateBackgroundColor for Button colorSet does not follow custom theme accent color
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Devin Lin <espidev>
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.94.0   
Target Milestone: Not decided   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Incorrect color in Kirigami Gallery

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