[Webkit-unassigned] [Bug 252003] New: [GPU Process] [FormControls] Make it possible to draw a viewless NSCell
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 9 12:09:20 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=252003
Bug ID: 252003
Summary: [GPU Process] [FormControls] Make it possible to draw
a viewless NSCell
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sabouhallawa at apple.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
AppKit crashes if [NSCell drawWithFrame] is called out of the main thread with a non-nil NSView. And this is why a hack was added to WebControlWindow to silence this crash in 257981 at main. To fix the crash and to remove the hack, a nil NSView will be passed to [NSCell drawWithFrame] instead of passing the fake one.
To provide the [NSCell drawWithFrame] with the settings that it used to get from the fake NSView, new AppKit SPIs will be used to explicitly set them from the drawing. An NSCell can be drawn without an NSView only if these SPIs are available.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230209/d4e37f98/attachment.htm>
More information about the webkit-unassigned
mailing list