Bug 145513

Summary: Scrollbars render with glitches using GTK themes that do not define a background for them
Product: WebKit Reporter: Adrian Perez <aperez>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: alcinnz, bugs-noreply, mcatanzaro, webkit-bugzilla
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Screenshot none

Description Adrian Perez 2015-06-01 08:34:50 PDT
Created attachment 254001 [details]
Screenshot

With GTK+ themes where the background of the scrollbar is set to transparent,
the scrollbar painting does not seem to be blended with the web view as
background, and the scrollbar marker is just painted over and over, without
ever clearing the background.

Reported downstream for the MosSky theme here:

   https://github.com/dasnoopy/moslight-themes/issues/14

The theme author commented:

> it seems to be something related with webkitgtk and the new overlay scrollbars
> introduced with gtk+ 3.16. As workaround I'll set a white background for
> scrollbars.

Probably there is something that should be done in the WebKitGTK+ side to have
the transparent background in scrollbars render properly blended over the web
content.
Comment 1 Lionir 2019-05-17 14:38:10 PDT
We have transparency in the default Adwaita theme now and it seems to work, I think this can be closed.
Comment 2 Michael Catanzaro 2019-05-17 15:14:50 PDT
Assuming fixed, unless Adrian wants to check this theme out again.
Comment 3 Adrian Perez 2019-06-24 09:02:58 PDT
(In reply to Michael Catanzaro from comment #2)
> Assuming fixed, unless Adrian wants to check this theme out again.

I cannot try MosSky anymore because it does not support GTK 3.24,
but the Zukitre theme had the same issue and is now working fine…
so I'd say this is indeed fixed :)