RESOLVED FIXED 107205
REGRESSION(r137726): Spring Loaded Pan Scrolling doesn't stop
https://bugs.webkit.org/show_bug.cgi?id=107205
Summary REGRESSION(r137726): Spring Loaded Pan Scrolling doesn't stop
yosin
Reported 2013-01-17 17:32:31 PST
Import from http://crbug.com/167238 = Re-produce steps = 1. Open scrollable page. 2. Hold middle mouse button and move pointer around to start scrolling 3. Release middle mouse button = Result = Continue scrolling = Expectation = Stop scrolling when releaseing mouse.
Attachments
Patch 1 (15.76 KB, patch)
2013-01-17 21:07 PST, yosin
no flags
Patch 2 (16.09 KB, patch)
2013-01-17 23:17 PST, yosin
no flags
yosin
Comment 1 2013-01-17 21:07:26 PST
yosin
Comment 2 2013-01-17 21:08:23 PST
Comment on attachment 183364 [details] Patch 1 Could you review this patch? Thanks in advance.
WebKit Review Bot
Comment 3 2013-01-17 22:53:42 PST
Comment on attachment 183364 [details] Patch 1 Attachment 183364 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/15937553 New failing tests: platform/chromium-win/fast/events/panScroll-drag.html platform/chromium-win/fast/events/panScroll-click.html
Hajime Morrita
Comment 4 2013-01-17 22:56:59 PST
Comment on attachment 183364 [details] Patch 1 An approach looks good. It's great to get rid of extra flags. About state name. MouseDown/MouseUp is unclear here AutoScrollController doesn't handle mouse event directly for pan scroll. It looks we have existing AutoscrollForPan and an extra state which indicates AutoscrollForPan is finishing. Can we just add an enum for that instead of replace AutoScroll into two state? Also, we need TestExpectations for non-windows platforms.
yosin
Comment 5 2013-01-17 23:17:55 PST
yosin
Comment 6 2013-01-17 23:19:50 PST
Comment on attachment 183385 [details] Patch 2 Could you review this patch? Thanks in advance. = Changes since the last review = * Update platform/chromium/TestExpecation for skipping newly added pan scroll tests. * Use AutoscrollForPanCanStop instead of AutoscrollForPan{Before,After}MouseUp.
WebKit Review Bot
Comment 7 2013-01-18 00:24:02 PST
Comment on attachment 183385 [details] Patch 2 Clearing flags on attachment: 183385 Committed r140104: <http://trac.webkit.org/changeset/140104>
WebKit Review Bot
Comment 8 2013-01-18 00:24:06 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.