[Webkit-unassigned] [Bug 16123] [GTK] Smooth scrolling support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 18 11:54:50 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=16123





--- Comment #22 from Zan Dobersek <zandobersek at gmail.com>  2012-02-18 11:54:49 PST ---
(In reply to comment #21)
> (From update of attachment 127700 [details])
> Does this really need to be a setting? Isn't there some default "use animations" setting or style property in gtk? When would you ever want to disable this?

There indeed is a 'gtk-use-animations' property in GtkSettings, which defaults to true. If acceptable to reviewers, the code could just connect to the notify::gtk-use-animation signal of GtkSettings and change the WebCore setting appropriately.

Though, without the WKPreferences API additions, this would require the connecting and adjusting to the 'gtk-use-animations' value to be performed in WebProcess. But ideally, the GtkSettings instance would be gathered from the specific GtkWidget (the web view), which is a part of UIProcess, and as such AFAIK not reachable from WebProcess.

How about keeping the WKPreferences API additions private, in WKPreferencesPrivate.h?

[1] http://developer.gnome.org/gtk3/stable/GtkSettings.html#GtkSettings--gtk-enable-animations

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list