Bug 153860 - [GTK] Scrollbars not correctly rendered in non GNOME environments
Summary: [GTK] Scrollbars not correctly rendered in non GNOME environments
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Keywords: Gtk, Regression
Depends on:
Reported: 2016-02-04 02:44 PST by Carlos Garcia Campos
Modified: 2016-02-05 05:58 PST (History)
7 users (show)

See Also:

Patch (2.82 KB, patch)
2016-02-04 02:46 PST, Carlos Garcia Campos
mcatanzaro: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2016-02-04 02:44:12 PST
I noticed this in a matchbox environment, where there's no gnome-setting-daemon running. The problem is only with the scrollbars, because we initialize the GtkSettings in RenderThemeGtk and notify the ScrollbarTheme when it changes, but ScrollbarTheme is created before RenderThemeGtk so we initialize the theme properties before the GtkSettings have been initialized. We could just let the ScrollbarTheme monitor the theme itself instead of relying on being notified by the WebCore layer.
Comment 1 Carlos Garcia Campos 2016-02-04 02:46:14 PST
Created attachment 270648 [details]
Comment 2 Carlos Garcia Campos 2016-02-05 05:58:33 PST
Committed r196171: <http://trac.webkit.org/changeset/196171>