RESOLVED DUPLICATE of bug 311086310346
REGRESSION(308458@main): [GTK][WPE] dirty scrollbar thumb
https://bugs.webkit.org/show_bug.cgi?id=310346
Summary REGRESSION(308458@main): [GTK][WPE] dirty scrollbar thumb
Fujii Hironori
Reported 2026-03-20 04:26:28 PDT
1. Load your random favorite web site 2. Hover the mouse cursor on the vertical scrollbar to make it wider 3. Send wheel event to scroll the page The scrollbar thumb sometime looks dirty. I realized this problem with GTK MiniBrowser 309519@main Release build and Epiphany Canary of today. I don't know the exact steps to reproduce. But, very easy to reproduce by visiting some favorite web sites. https://en.wikipedia.org/wiki/Main_Page https://www.yomiuri.co.jp/ https://www.itmedia.co.jp/ https://news.yahoo.co.jp/
Attachments
screenshot (71.15 KB, image/png)
2026-03-20 04:34 PDT, Fujii Hironori
no flags
Fujii Hironori
Comment 1 2026-03-20 04:34:47 PDT
Created attachment 478729 [details] screenshot
Fujii Hironori
Comment 2 2026-03-23 06:52:48 PDT
Fujii Hironori
Comment 3 2026-03-23 20:22:26 PDT
308458@main is the regression point.
Fujii Hironori
Comment 4 2026-03-25 17:45:07 PDT
No wheel events are needs. No needs to scroll. 1. Load a random page in https://en.wikipedia.org/ 2. Hover the mouse cursor to make the overlay scrollbar wider 3. Look at the scrollbar I see the problem just by repeating these steps 2-3 times.
Fujii Hironori
Comment 5 2026-03-26 00:53:32 PDT
This patch fills the scrollbar area with semi-transparent white. With this patch, easier to observe the dirty scrollbar area. diff --git a/Source/WebCore/platform/adwaita/AdwaitaScrollbarPainter.cpp b/Source/WebCore/platform/adwaita/AdwaitaScrollbarPainter.cpp index fb108ceaaf42..456273811aeb 100644 --- a/Source/WebCore/platform/adwaita/AdwaitaScrollbarPainter.cpp +++ b/Source/WebCore/platform/adwaita/AdwaitaScrollbarPainter.cpp @@ -34,6 +34,10 @@ namespace WebCore::AdwaitaScrollbarPainter { void paint(GraphicsContext& graphicsContext, const IntRect& damageRect, const State& scrollbar) { + graphicsContext.beginTransparencyLayer(0.5); + graphicsContext.fillRect(scrollbar.frameRect, Color::white); + graphicsContext.endTransparencyLayer(); + return; if (graphicsContext.paintingDisabled()) return;
Fujii Hironori
Comment 6 2026-03-27 17:00:11 PDT
If I replace beginTransparencyLayer with Color(Color::blue).colorWithAlpha(0.5), this issue no longer happen.
Fujii Hironori
Comment 7 2026-03-30 06:35:22 PDT
*** This bug has been marked as a duplicate of bug 311086 ***
Note You need to log in before you can comment on or make changes to this bug.