Bug 395010

Summary: If scroll up/down buttons are visible, always show them in the scrollbar gutter
Product: [Plasma] Breeze Reporter: Christian (Fuchs) <kde>
Component: QStyleAssignee: Plasma Development Mailing List <plasma-devel>
Status: RESOLVED FIXED    
Severity: wishlist CC: kde, nate
Priority: NOR Keywords: usability
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.23
Sentry Crash Report:
Attachments: difference between buttons shown and not shown

Description Christian (Fuchs) 2018-06-03 21:13:54 UTC
Created attachment 113054 [details]
difference between buttons shown and not shown

As per the discussion in the VDG channel: 

could we make the scrollbar v and ^ buttons always show, not only on hover? 
Otherwise it always looks like you can scroll more in that direction, even though you are at the bottom / top. 

It also doesn't really save space or look slimmer / nicer.
Comment 1 Nate Graham 2018-06-04 04:58:24 UTC
BTW, all the action is in ./kstyle/animations/breezescrollbardata.cpp, if you want to try your hand at producing a patch. I gave it a shot tonight but my head is spinning and I need to go to sleep.
Comment 2 Hugo Pereira Da Costa 2018-06-04 05:16:45 UTC
Hint. 
The action is not in ./kstyle/animations/breezescrollbardata.cpp
Comment 3 Nate Graham 2018-06-05 12:54:22 UTC
Yeah, I didn't have much luck there either. I found two instances of this in kstyle/breezestyle.cpp:

// no mouse over and no animation in progress, don't draw arrows at all
else if( !widgetMouseOver ) return Qt::transparent;

Removing those made the arrows appear by default, but after hovering the scrollbar groove and moving the mouse out of it, they disappear.
Comment 4 Nate Graham 2021-02-16 20:44:43 UTC
*** Bug 432874 has been marked as a duplicate of this bug. ***
Comment 5 Bug Janitor Service 2021-05-02 17:33:00 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/breeze/-/merge_requests/99
Comment 6 Nate Graham 2021-07-27 17:23:14 UTC
This was fixed by Jan Blackquill with https://invent.kde.org/plasma/breeze/-/merge_requests/112/diffs?commit_id=513e3f85f7609ca5615ca21c150855c18bf6c9bc in Plasma 5.23!