[Webkit-unassigned] [Bug 236395] Clipboard Paste dialog doesn't show on external monitors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 25 13:17:30 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=236395

--- Comment #2 from Wenson Hsieh <wenson_hsieh at apple.com> ---
I suspect this is due to the way in which we compute the confinement rect when positioning the DOM paste context menu:

```
- (NSRect)confinementRectForMenu:(NSMenu *)menu onScreen:(NSScreen *)screen
{
    auto confinementRect = WebCore::enclosingIntRect(NSRect { NSEvent.mouseLocation, menu.size });
    confinementRect.move(0, -confinementRect.height());
    return confinementRect;
}
```

...will look into this soon.

-- 
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/20220225/d0c5d8f9/attachment.htm>


More information about the webkit-unassigned mailing list