Bug 202568 - [GTK] Navigation gesture snapshot times out after PSON
Summary: [GTK] Navigation gesture snapshot times out after PSON
Status: RESOLVED DUPLICATE of bug 205012
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-04 00:33 PDT by Alice Mikhaylenko
Modified: 2019-12-30 12:41 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alice Mikhaylenko 2019-10-04 00:33:45 PDT
A simple way to reproduce: run minibrowser, enable the gesture, go to webkit.com, swipe back. Go to docs or release announcements, swipe back, it works immediately.

The event it's waiting for is RenderTreeSizeThreshold. Looks like ViewGestureGeometryCollector::SetRenderTreeSizeNotificationThreshold() is sent too early, and arrives to the wrong process in case of PSON. And it looks like the same thing should happen on Mac.

Adding a requestRenderTreeSizeNotificationIfNeeded() call in ViewGestureController::connectToProcess() fixes it here, but that's probably not the right solution.
Comment 1 Alice Mikhaylenko 2019-12-30 12:41:56 PST
Seems to be a duplicate of https://bugs.webkit.org/show_bug.cgi?id=205012 and fixed there.

*** This bug has been marked as a duplicate of bug 205012 ***