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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 18 12:24:58 PST 2012


--- Comment #24 from Zan Dobersek <zandobersek at gmail.com>  2012-02-18 12:24:57 PST ---
(In reply to comment #23)
> (In reply to comment #22)
> > (In reply to comment #21)
> > > (From update of attachment 127700 [details] [details] [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.
> When gtk-use-animations is true though, does GTK+ use smooth scrolling? If not, then we'll need to look elsewhere to maintain consitency with GTK+.

Oops, it's actually gtk-enable-animations.

The only Gtk application I've seen to date to perform smooth scrolling is the gnome-about dialog. It doesn't respect the gtk-use-animations setting. Grepping through the gtk source, this setting is used to decide whether or not to animate smaller animations, such as expanding the tree view or sliding a toolbar item etc.

Considering this, gtk-enable-animations might not be appropriate to control whether or not to enable smooth scrolling.

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