Bug 140911

Summary: Invoking an immediate action on link often dismisses selection
Product: WebKit Reporter: Beth Dakin <bdakin>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch thorton: review+

Beth Dakin
Reported 2015-01-26 16:50:51 PST
Invoking an immediate action on link often dismisses existing selection. It should not. rdar://problem/19572685
Attachments
Patch (2.71 KB, patch)
2015-01-26 16:53 PST, Beth Dakin
thorton: review+
Beth Dakin
Comment 1 2015-01-26 16:53:22 PST
Tim Horton
Comment 2 2015-01-26 20:16:55 PST
Comment on attachment 245391 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=245391&action=review > Source/WebKit2/UIProcess/mac/WKImmediateActionController.mm:-210 > - _page->setMaintainsInactiveSelection(false); I don't think we can get rid of this one, can we?
Beth Dakin
Comment 3 2015-01-27 11:14:44 PST
(In reply to comment #2) > Comment on attachment 245391 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=245391&action=review > > > Source/WebKit2/UIProcess/mac/WKImmediateActionController.mm:-210 > > - _page->setMaintainsInactiveSelection(false); > > I don't think we can get rid of this one, can we? It actually seems like dismissContentRelativeChildWindows is typically called through WKView code on cancel, but it seems best not to rely on that, so I kept this one. There is certainly no downside. http://trac.webkit.org/changeset/179195
Note You need to log in before you can comment on or make changes to this bug.