After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 669335 - Render a background in the scrollbars junction area.
Render a background in the scrollbars junction area.
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Class: GtkStyleContext
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2012-02-03 19:09 UTC by Cosimo Cecchi
Modified: 2012-02-29 15:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
stylecontext: add a "scrollbars-junction" style class (1.49 KB, patch)
2012-02-03 19:09 UTC, Cosimo Cecchi
committed Details | Review
scrolledwindow: draw a box in the junction between the two scrollbars (3.27 KB, patch)
2012-02-03 19:09 UTC, Cosimo Cecchi
committed Details | Review

Description Cosimo Cecchi 2012-02-03 19:09:37 UTC
When both scrollbars are visible, a square is formed at their junction point. The theme wants to be able to style that, to use e.g. the same color as the scrollbar's through. See attached patches.
Comment 1 Cosimo Cecchi 2012-02-03 19:09:40 UTC
Created attachment 206715 [details] [review]
stylecontext: add a "scrollbars-junction" style class

It will be used in the following commit.
Comment 2 Cosimo Cecchi 2012-02-03 19:09:50 UTC
Created attachment 206716 [details] [review]
scrolledwindow: draw a box in the junction between the two scrollbars

If there's a junction between the two scrollbars (i.e. they're both
visible), draw a background with a style class there, so the theme can
style it.
Comment 3 Matthias Clasen 2012-02-08 12:20:31 UTC
Not thrilled with the amount of code to effectively draw a gray square, but I guess that can't be helped. If you've tested this with and without resize grips, its fine.
Comment 4 Cosimo Cecchi 2012-02-29 15:26:17 UTC
Attachment 206715 [details] pushed as 1411020 - stylecontext: add a "scrollbars-junction" style class
Attachment 206716 [details] pushed as c7ad567 - scrolledwindow: draw a box in the junction between the two scrollbars

Pushed these to master now.