Scrollbars cause GTK rendering issues with specific combinations of widgets and themes

Bug #1096907 reported by Conscious User
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
overlay-scrollbar
New
Undecided
Unassigned

Bug Description

The attached Python3 example uses GtkOverlay to put a GtkTextView over a GtkLayout containing a GtkScrolledWindow. If you run this example with the overlay scrollbars active and under the Adwaita or HighContrast theme, you will notice that the GtkTextView is not being rendered properly. Hovering the cursor over the region where the GtkTextView changes it to a text cursor, so it's a rendering issue rather than a Z-index issue.

The issue does NOT happen if:
- You are using Ambiance or Radiance. (regardless of overlay scrollbars being active or not)
- You are not using the overlay scrollbars. (regardless of theme)

One clue to the cause of this issue is the fact that Adwaita and HighContrast set a background color for either GtkScrolledWindow or GtkViewport (which GtkScrolledWindow uses), whereas the light-themes do not. However, it seems strange that the issue requires the GtkScrolledWindow being inside a GtkLayout.

Revision history for this message
Conscious User (conscioususer) wrote :
Revision history for this message
Mateusz Stachowski (stachowski-mateusz) wrote :

This also causes issues when using Numix and Iris Dark themes.

http://thevirtualdragon.deviantart.com/art/Iris-Dark-Gtk-Theme-v1-65-429628194

Check the comments section where one user attached screenshots and the author of the theme replied that this is caused by overlay-scrollbars.

http://comments.deviantart.com/1/429628194/3495976745

Revision history for this message
Sadi Yumuşak (sa-yu) wrote :

I don't know if this is connected with https://bugs.launchpad.net/overlay-scrollbar/+bug/1367764 and which is causing my problems, but I find it annoying that I frequently get background color change to black in Nautilus and some other apps, and themers say they don't want to implement a workaround because it's an Overlay Scrollbar bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.