Bug 162821 - [iOS] Editing menu omits the Share command if the selected text is longer than 200 characters
Summary: [iOS] Editing menu omits the Share command if the selected text is longer tha...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: mitz
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-09-30 18:12 PDT by mitz
Modified: 2016-09-30 18:30 PDT (History)
2 users (show)

See Also:


Attachments
Remove length limitation (1.81 KB, patch)
2016-09-30 18:21 PDT, mitz
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2016-09-30 18:12:56 PDT
<rdar://problem/28409828>

-[WKContentView(WKInteraction) canPerformAction:withSender:] returns NO for the Share action if the selected text is longer than 200 characters. A comment explains this by reference to the Define command (which no longer exists in iOS), but that seems incorrect. While long terms could never be looked up in the dictionary, the same restriction doesn’t exist for sharing, and indeed in both UIKit text views and in UIWebView, sharing is not restricted based on text.
Comment 1 mitz 2016-09-30 18:21:43 PDT
Created attachment 290417 [details]
Remove length limitation
Comment 2 mitz 2016-09-30 18:30:13 PDT
Fixed in <https://trac.webkit.org/r206702>.