Bug 454124 - Scrollbars do not become colored when their scrollview has focus, as QtWidgets scrollbars do
Summary: Scrollbars do not become colored when their scrollview has focus, as QtWidget...
Status: CONFIRMED
Alias: None
Product: frameworks-qqc2-desktop-style
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-21 02:28 UTC by Felipe Kinoshita
Modified: 2022-05-23 17:58 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felipe Kinoshita 2022-05-21 02:28:43 UTC
The controls in qqc2-desktop-style don't follow the accent color defined in system settings.

STEPS TO REPRODUCE
1. Set an accent color
2. Open up an up that uses Kirigami (e.g discover, kalendar, etc...)
3. See that the scrollbar does not follow the accent color

OBSERVED RESULT
The scrollbar does not follow the accent color

EXPECTED RESULT
The scrollbar should follow the accent color, dolphin's scrollbar follows the accent color correctly.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora KDE 36
(available in About System)
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Comment 1 Nate Graham 2022-05-23 17:21:00 UTC
Works for me. Can you attach a screenshot that shows the wrongly-colored scrollbar and also what accent color you have set in System Settings?

Does this happen for other UI elements in affected apps, or just the scrollbars?
Comment 2 Felipe Kinoshita 2022-05-23 17:44:29 UTC
Oh it does change the scrollbar color but in a inconsistent way, dolphin's scrollbar always use the accent color, the qqc2-desktop-style only shows it on hover, in two different way btw, one when hovering the whole scrollbar and one when hovering just the bar.

I guess we should make this consistent, right?
Comment 3 Nate Graham 2022-05-23 17:58:08 UTC
Yeah, that's a difference between the two styles but it's not related to the accent color.

For QtWidgets apps, the scrollbar becomes colored when its view has focus. That doesn't happen for qqc2-desktop-style; that would be what we need to fix.