RESOLVED FIXED Bug 200588
[iOS WK2] Remove context menu hints on navigation
https://bugs.webkit.org/show_bug.cgi?id=200588
Summary [iOS WK2] Remove context menu hints on navigation
Simon Fraser (smfr)
Reported 2019-08-09 14:07:04 PDT
[iOS WK2] Remove context menu previews on navigation
Attachments
Patch (4.64 KB, patch)
2019-08-09 14:08 PDT, Simon Fraser (smfr)
thorton: review+
Patch (4.89 KB, patch)
2019-08-09 14:19 PDT, Simon Fraser (smfr)
no flags
Simon Fraser (smfr)
Comment 1 2019-08-09 14:08:36 PDT
Simon Fraser (smfr)
Comment 2 2019-08-09 14:08:38 PDT
Tim Horton
Comment 3 2019-08-09 14:10:38 PDT
Comment on attachment 375950 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=375950&action=review > Source/WebKit/ChangeLog:9 > + Make sure the context menu preview doesn't linger across navigations by hosting it in its hint! the preview is the platter that is presented above the context menu. > Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:3954 > + [self _hideContextMenu]; You don't hide the menu, just the hint > Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:6397 > + if (_contextMenuContainerView) { Ditto
Simon Fraser (smfr)
Comment 4 2019-08-09 14:19:51 PDT
WebKit Commit Bot
Comment 5 2019-08-09 15:01:46 PDT
Comment on attachment 375956 [details] Patch Clearing flags on attachment: 375956 Committed r248481: <https://trac.webkit.org/changeset/248481>
Alexey Proskuryakov
Comment 6 2019-08-09 15:30:09 PDT
Comment on attachment 375956 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=375956&action=review > Source/WebKit/ChangeLog:15 > + (-[WKContentView _didCommitLoadForMainFrame]): The issue will still be happening for subframe navigations, correct?
Simon Fraser (smfr)
Comment 7 2019-08-10 16:54:56 PDT
Yes, but we can fix that separately.
Note You need to log in before you can comment on or make changes to this bug.