Bug 434884

Summary: Scroll bar arrow buttons does not highlight on hover in QQC2 apps
Product: [Frameworks and Libraries] frameworks-qqc2-desktop-style Reporter: Mohammed Sameer <glifwentry>
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: minor CC: ahiemstra, kde, kde, kwin-bugs-null, nate, noahadvs
Priority: NOR    
Version: 5.80.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: 5.22.5
Attachments: system settings video

Description Mohammed Sameer 2021-03-24 14:13:44 UTC
Created attachment 137030 [details]
system settings video

SUMMARY
Scroll bar arrow buttons does not highlight on hover in some applications like system settings, discover, plasma system monitor etc, while they are highlighted in blue color in dolphin. Please see the attached video.

STEPS TO REPRODUCE
1. enable scroll bar arrow buttons in settings
2. In system settings hover over the scroll bar arrow buttons & click them
3. 

OBSERVED RESULT
the scroll bar arrow buttons are not highlighted.

EXPECTED RESULT
the scroll bar arrow buttons are highlighted in blue color.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.21
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Kernel Version: 5.4.0-67-generic
OS Type: 64-bit
Graphics Platform: X11
Processors: 4 × Intel® Core™ i3-5010U CPU @ 2.10GHz
Memory: 3.8 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 5500

ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2021-08-09 22:27:44 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/breeze/-/merge_requests/121
Comment 2 Janet Blackquill 2021-08-10 20:20:45 UTC
Git commit b792ea06cf74d638650fcdc73401578f90d0a527 by Jan Blackquill.
Committed on 10/08/2021 at 19:48.
Pushed by cblack into branch 'master'.

kstyle: consider activeSubControls when deciding arrow colour

This fixes hover colours in qqc2-desktop-style, which
has no widget for us to poke at, so we have to use
activeSubControls instead, which we do have, regardless
of whether or not there's a widget.

M  +11   -0    kstyle/breezestyle.cpp

https://invent.kde.org/plasma/breeze/commit/b792ea06cf74d638650fcdc73401578f90d0a527
Comment 3 Janet Blackquill 2021-08-10 20:21:20 UTC
Git commit 37f43577ee2b1a095a6791c9dd7d2f6a3dfa7852 by Jan Blackquill.
Committed on 10/08/2021 at 20:21.
Pushed by cblack into branch 'Plasma/5.22'.

kstyle: consider activeSubControls when deciding arrow colour

This fixes hover colours in qqc2-desktop-style, which
has no widget for us to poke at, so we have to use
activeSubControls instead, which we do have, regardless
of whether or not there's a widget.

M  +11   -0    kstyle/breezestyle.cpp

https://invent.kde.org/plasma/breeze/commit/37f43577ee2b1a095a6791c9dd7d2f6a3dfa7852
Comment 4 Paul McAuley 2024-03-16 22:15:24 UTC
This fix isn't quite the same. On normal Qt widget apps the scrollbar highlights when that scrollarea is active, not just on hover. In QCC2 the scollbar only highlights on hover.
Comment 5 Nate Graham 2024-03-18 22:03:57 UTC
That's not related to the issue being fixed here.