https://bugs.kde.org/show_bug.cgi?id=429972

            Bug ID: 429972
           Summary: Buttons/ToolButtons in ActionToolBars don't respect
                    Theme.colorSet and Theme.inherit
           Product: frameworks-kirigami
           Version: Master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: notm...@gmail.com
          Reporter: noaha...@gmail.com
  Target Milestone: Not decided

SUMMARY
They will always have Theme.colorSet forced to Header and Theme.inherit forced
to true.

To be clear, this with all ActionToolBars, not just the global toolbar.

This problem also happens with the Default, Material and Fusion styles.

I figured out a workaround, but it's awful:
https://invent.kde.org/plasma/qqc2-breeze-style/-/blob/master/style/qtquickcontrols/ToolButton.qml

STEPS TO REPRODUCE
1. Comment out lines 26-29
2. Compile qqc2-breeze-style
3. Run `QT_QUICK_CONTROLS_STYLE=org.kde.breeze kirigami2gallery`
4. Click on buttons in the global toolbar.

OBSERVED RESULT
Colors for toolbars and buttons on toolbars are wrong.

If you use console.log(), inherit is always true and colorSet is always 6
(Theme.Header)

EXPECTED RESULT
Colors should match whatever the QQC2 style would normally use.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20201201
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2
Kernel Version: 5.9.8-2-default
OS Type: 64-bit
Processors: 4 × Intel® Core™ i7-6500U CPU @ 2.50GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 520

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to