Bug 385627

Summary: GTK2 scrollbars look weird
Product: [Plasma] Breeze Reporter: Yannick <leguen.yannick>
Component: gtk themeAssignee: scionicspectre
Status: RESOLVED FIXED    
Severity: minor CC: agrinev98, bugseforuns, nate, simonandric5
Priority: NOR    
Version: 5.11.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: scrollbar at the bottom extremity
scrollbar highlighted by mouse cursor

Description Yannick 2017-10-11 19:54:18 UTC
Created attachment 108287 [details]
scrollbar at the bottom extremity

After upgrading to Plasma 5.11.0, I noticed weird scrollbars on GTK2 apps using the breeze-gtk theme.

When a scrollbar is at the very top or bottom of a window, it looks like you can still scroll a bit. Hovering the mouse cursor over it displays it correctly, though :)

See screenshots in attachment.
Comment 1 Yannick 2017-10-11 19:55:23 UTC
Created attachment 108288 [details]
scrollbar highlighted by mouse cursor
Comment 2 Yannick 2017-10-11 19:59:31 UTC
Actually the scrollbar goes a bit beyond its frame, hence the weird look.
Comment 3 Artem Grinev 2017-10-14 10:02:34 UTC
It looks like my patches to the breeze scrollbars weren't merged correctly, so there is new config for gtk2, but not the assets.
Comment 4 Christoph Feck 2017-10-25 11:53:38 UTC
Artem, could you add a comment to the phabricator page for your patches, or submit an additional patch with the remaining changes needed?
Comment 5 David Edmundson 2017-11-13 11:07:17 UTC
Git commit cc0d3da262764eff867a816dc7e728b218f2f7e5 by David Edmundson, on behalf of Artem Grinev.
Committed on 13/11/2017 at 11:07.
Pushed by davidedmundson into branch 'master'.

Update scrollbar assets

Differential Revision: https://phabricator.kde.org/D6688

M  +-    --    Breeze-gtk/assets/scrollbar-slider-horizontal-hover.png
M  +-    --    Breeze-gtk/assets/scrollbar-slider-horizontal-hover@2.png
M  +-    --    Breeze-gtk/assets/scrollbar-slider-horizontal.png
M  +-    --    Breeze-gtk/assets/scrollbar-slider-horizontal@2.png
M  +-    --    Breeze-gtk/assets/scrollbar-slider-vertical-hover.png
M  +-    --    Breeze-gtk/assets/scrollbar-slider-vertical-hover@2.png
M  +-    --    Breeze-gtk/assets/scrollbar-slider-vertical.png
M  +-    --    Breeze-gtk/assets/scrollbar-slider-vertical@2.png
M  +-    --    Breeze-gtk/assets/scrollbar-trough-horizontal.png
M  +-    --    Breeze-gtk/assets/scrollbar-trough-horizontal@2.png
M  +-    --    Breeze-gtk/assets/scrollbar-trough-vertical.png
M  +-    --    Breeze-gtk/assets/scrollbar-trough-vertical@2.png

https://commits.kde.org/breeze-gtk/cc0d3da262764eff867a816dc7e728b218f2f7e5