It doesn't appear on right click. A warning is shown instead.
Created attachment 400196 [details] Patch
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
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 🤔️
(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.
Committed r262137: <https://trac.webkit.org/changeset/262137>