WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 200239
Contextual menu does not present when holding an embedded photo but works with link and attachments
https://bugs.webkit.org/show_bug.cgi?id=200239
Summary
Contextual menu does not present when holding an embedded photo but works wit...
Dean Jackson
Reported
2019-07-29 13:51:11 PDT
Contextual menu does not present when holding an embedded photo but works with link and attachments
Attachments
Patch
(3.50 KB, patch)
2019-07-29 13:55 PDT
,
Dean Jackson
thorton
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Dean Jackson
Comment 1
2019-07-29 13:51:44 PDT
<
rdar://problem/53318733
>
Dean Jackson
Comment 2
2019-07-29 13:55:03 PDT
Created
attachment 375096
[details]
Patch
Tim Horton
Comment 3
2019-07-29 13:56:42 PDT
Comment on
attachment 375096
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=375096&action=review
> Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:7971 > + UIContextMenuActionProvider actionMenuProvider = [weakSelf = weakSelf, elementInfo = elementInfo] (NSArray<UIMenuElement *> *) -> UIMenu * {
why the [a = a, b = b]? can't you just [a, b]?
Tim Horton
Comment 4
2019-07-29 13:56:55 PDT
Comment on
attachment 375096
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=375096&action=review
> Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:7978 > + return [UIMenu menuWithTitle:@"" children:actions];
Is this not nullable?
Dean Jackson
Comment 5
2019-07-29 14:16:27 PDT
Comment on
attachment 375096
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=375096&action=review
>> Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:7971 >> + UIContextMenuActionProvider actionMenuProvider = [weakSelf = weakSelf, elementInfo = elementInfo] (NSArray<UIMenuElement *> *) -> UIMenu * { > > why the [a = a, b = b]? can't you just [a, b]?
yes
>> Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:7978 >> + return [UIMenu menuWithTitle:@"" children:actions]; > > Is this not nullable?
Alas, no. Very strange since they don't really want titles.
Dean Jackson
Comment 6
2019-07-29 14:20:46 PDT
Committed
r247920
: <
https://trac.webkit.org/changeset/247920
>
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