Bug 191940 - Scrolling and drawing compete for incoming gestures
Summary: Scrolling and drawing compete for incoming gestures
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Horton
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-11-24 02:04 PST by Tim Horton
Modified: 2018-11-25 04:06 PST (History)
6 users (show)

See Also:


Attachments
Patch (2.75 KB, patch)
2018-11-24 02:05 PST, Tim Horton
no flags Details | Formatted Diff | Diff
Patch (2.74 KB, patch)
2018-11-25 03:05 PST, Tim Horton
no flags Details | Formatted Diff | Diff
Patch (2.74 KB, patch)
2018-11-25 03:07 PST, Tim Horton
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Horton 2018-11-24 02:04:26 PST
Scrolling and drawing compete for incoming gestures
Comment 1 Tim Horton 2018-11-24 02:05:12 PST
Created attachment 355561 [details]
Patch
Comment 2 Wenson Hsieh 2018-11-24 10:02:30 PST
Comment on attachment 355561 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=355561&action=review

> Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:670
> +        [[_scrollView panGestureRecognizer] setAllowedTouchTypes:@[ @(UITouchTypeDirect) ]];

Nit - [~].allowedTouchTypes = ~;

> Source/WebKit/UIProcess/ios/WKDrawingView.mm:65
> +    [[_pencilView drawingGestureRecognizer] setAllowedTouchTypes:@[ @(UITouchTypePencil) ]];

Ditto.
Comment 3 Tim Horton 2018-11-25 03:05:59 PST
Created attachment 355589 [details]
Patch
Comment 4 Tim Horton 2018-11-25 03:07:45 PST
Created attachment 355590 [details]
Patch
Comment 5 WebKit Commit Bot 2018-11-25 04:05:09 PST
Comment on attachment 355590 [details]
Patch

Clearing flags on attachment: 355590

Committed r238474: <https://trac.webkit.org/changeset/238474>
Comment 6 WebKit Commit Bot 2018-11-25 04:05:10 PST
All reviewed patches have been landed.  Closing bug.
Comment 7 Radar WebKit Bug Importer 2018-11-25 04:06:33 PST
<rdar://problem/46230894>