Bug 215971

Summary: Text copied and pasted from Mac Catalyst apps appears larger than expected
Product: WebKit Reporter: Wenson Hsieh <wenson_hsieh>
Component: HTML EditingAssignee: Wenson Hsieh <wenson_hsieh>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, benjamin, cdumez, cmarcelo, ews-watchlist, megan_gardner, thorton, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Wenson Hsieh 2020-08-28 22:09:43 PDT
<rdar://problem/65768907>
Comment 1 Wenson Hsieh 2020-09-08 14:18:19 PDT
Created attachment 408268 [details]
Patch
Comment 2 Alex Christensen 2020-09-09 09:46:29 PDT
Comment on attachment 408268 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=408268&action=review

> Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:176
> +            auto* uikitFramework = dlopen("/System/Library/Frameworks/UIKit.framework/UIKit", RTLD_NOW);

This should probably use the soft link macros like we do everywhere else in WebKit.  SOFT_LINK_OPTIONAL with a comment saying to remove it once rdar://problem/68524148 is available on all the bots.
Comment 3 Wenson Hsieh 2020-09-09 10:08:43 PDT
(In reply to Alex Christensen from comment #2)
> Comment on attachment 408268 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=408268&action=review
> 
> > Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:176
> > +            auto* uikitFramework = dlopen("/System/Library/Frameworks/UIKit.framework/UIKit", RTLD_NOW);
> 
> This should probably use the soft link macros like we do everywhere else in
> WebKit.  SOFT_LINK_OPTIONAL with a comment saying to remove it once
> rdar://problem/68524148 is available on all the bots.

👍🏻
Comment 4 Wenson Hsieh 2020-09-09 12:32:38 PDT
Created attachment 408358 [details]
Patch
Comment 5 Wenson Hsieh 2020-09-09 14:53:41 PDT
Comment on attachment 408358 [details]
Patch

Thanks for the review!
Comment 6 EWS 2020-09-09 15:19:15 PDT
Committed r266802: <https://trac.webkit.org/changeset/266802>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 408358 [details].