WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
212508
Avoid unnecessary sync IPC messages when togging the callout bar for selections
https://bugs.webkit.org/show_bug.cgi?id=212508
Summary
Avoid unnecessary sync IPC messages when togging the callout bar for selections
Megan Gardner
Reported
2020-05-28 19:22:20 PDT
Avoid unnessecary sync IPC messages when togging the callout bar for selections.
Attachments
Patch
(3.29 KB, patch)
2020-05-28 19:26 PDT
,
Megan Gardner
no flags
Details
Formatted Diff
Diff
Patch for landing
(3.23 KB, patch)
2020-05-28 22:07 PDT
,
Megan Gardner
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Megan Gardner
Comment 1
2020-05-28 19:26:29 PDT
Created
attachment 400537
[details]
Patch
Wenson Hsieh
Comment 2
2020-05-28 19:29:19 PDT
Comment on
attachment 400537
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=400537&action=review
> Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:2566 > + if (!_page->editorState().selectionIsRange) > + return NO; > + if ([self _pointIsInsideSelectionRect:point outBoundingRect:nil]) > + return YES; > + return NO;
Nit - I would just write this `return [self _pointIsInsideSelectionRect:point outBoundingRect:nil];`.
Wenson Hsieh
Comment 3
2020-05-28 19:30:53 PDT
Comment on
attachment 400537
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=400537&action=review
> Source/WebKit/ChangeLog:3 > + Avoid unnessecary sync IPC messages when togging the callout bar for selections.
Nit - unnecessary
Megan Gardner
Comment 4
2020-05-28 22:07:16 PDT
Created
attachment 400547
[details]
Patch for landing
EWS
Comment 5
2020-05-28 22:41:06 PDT
Committed
r262280
: <
https://trac.webkit.org/changeset/262280
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 400547
[details]
.
Radar WebKit Bug Importer
Comment 6
2020-05-28 22:42:14 PDT
<
rdar://problem/63747401
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug