[Webkit-unassigned] [Bug 212344] [GTK4] Fix context menu

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 26 00:47:20 PDT 2020


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

--- Comment #4 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to Adrian Perez from comment #3)
> Comment on attachment 400196 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=400196&action=review
> 
> > Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp:859
> > +        gtk_native_check_resize(GTK_NATIVE(priv->activeContextMenuProxy->gtkWidget()));
> 
> Cannot we do this inside “WebContextMenuProxyGtk”? We know that the
> web view widget is valid when instantiating it, so I would expect that
> calling “gtk_native_check_resize()” after setting the web view as parent
> widget could work as well ��️

It needs to be called by the parent in its size_request.

-- 
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/20200526/f3fd51c1/attachment-0001.htm>


More information about the webkit-unassigned mailing list