Bug 18904

Summary: [GTK] Dragging the content to scroll
Product: WebKit Reporter: Marco Barisione <marco.barisione>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Enhancement CC: christian, diegoe, mrobinson
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Marco Barisione 2008-05-06 03:54:54 PDT
It would be nice to be able to scroll just dragging the content, like on the n810 or on the iPhone.

Probably this feature is useful only with touch screens, so it should be disabled by default.
Comment 1 Christian Dywan 2009-12-04 17:10:29 PST
I think this is not something WebKit should support, but the toolkit. On Maemo for example there is HildonPannableArea which works fine with WebKitGTK+. Or the scrolled widget included with Midori. And there are other scrollable widgets.
Comment 2 Diego Escalante Urrelo 2011-02-01 10:08:05 PST
Check https://bugs.webkit.org/show_bug.cgi?id=50561 , it makes PAN_SCROLLING a runtime setting.
Comment 3 Martin Robinson 2012-02-20 14:27:22 PST
Pan scrolling is actually a slightly different feature. When you press the middle mouse button it allows you to scroll by moving the cursor. I agree that this should be a feature of the toolkit. 

Touch support is just now trickling into GTK+, so we need to figure out the best way to integrate drag-to-scroll while respecting the wishes of the toolkit.
Comment 4 Martin Robinson 2014-04-08 18:00:52 PDT
This should probably happen in the toolkit.