Bug 206268

Summary: REGRESSION (r253394): After swiping back during a navigation, WKWebView gets stuck with the forward content, stops repainting
Product: WebKit Reporter: Tim Horton <thorton>
Component: New BugsAssignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue, simon.fraser, thorton
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Tim Horton 2020-01-14 17:03:37 PST
REGRESSION (r253394): After swiping back during a navigation, WKWebView gets stuck with the forward content, stops repainting
Comment 1 Tim Horton 2020-01-14 17:12:46 PST
Created attachment 387736 [details]
Patch
Comment 2 Tim Horton 2020-01-14 17:12:54 PST
<rdar://problem/58536702>
Comment 3 Simon Fraser (smfr) 2020-01-14 17:39:02 PST
Comment on attachment 387736 [details]
Patch

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

> Source/WebKit/UIProcess/ios/ViewGestureControllerIOS.mm:262
>      m_didCallWillEndSwipeGesture = false;
> +    m_didCallEndSwipeGesture = false;
> +    m_removeSnapshotImmediatelyWhenGestureEnds = false;

Starting to feel like a state machine.
Comment 4 Tim Horton 2020-01-14 17:41:10 PST
(In reply to Simon Fraser (smfr) from comment #3)
> Comment on attachment 387736 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=387736&action=review
> 
> > Source/WebKit/UIProcess/ios/ViewGestureControllerIOS.mm:262
> >      m_didCallWillEndSwipeGesture = false;
> > +    m_didCallEndSwipeGesture = false;
> > +    m_removeSnapshotImmediatelyWhenGestureEnds = false;
> 
> Starting to feel like a state machine.

STARTING!?
Comment 5 WebKit Commit Bot 2020-01-14 18:03:41 PST
Comment on attachment 387736 [details]
Patch

Clearing flags on attachment: 387736

Committed r254552: <https://trac.webkit.org/changeset/254552>
Comment 6 WebKit Commit Bot 2020-01-14 18:03:43 PST
All reviewed patches have been landed.  Closing bug.