[Webkit-unassigned] [Bug 195886] webkitWebViewPopulateContextMenu emits context-menu signal with NULL event (illegal)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 22 01:38:42 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=195886
--- Comment #4 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to Adrian Perez from comment #3)
> (In reply to Michael Catanzaro from comment #2)
> > I've asked in the downstream bug, but usually reporters don't know anything
> > about how it crashes.
> >
> > Jan-Michael asked elsewhere about what happens when the context menu is
> > opened via a touch event (long press or something?). Maybe this is related
> > to touch? The documentation seems to indicate this can't happen, but perhaps
> > the documentation is outdated.
>
> I *suppose* that another way of opening a context menu without using
> a mouse event would be with the menu key from the keyboard ¬_¬
In that case we pass the keyboard event, see the first comment:
"""
The event is expected to be one of the following types:
a GdkEventButton of type GDK_BUTTON_PRESS when the context menu was triggered with mouse.
a GdkEventKey of type GDK_KEY_PRESS if the keyboard was used to show the menu.
a generic GdkEvent of type GDK_NOTHING when the “popup-menu” signal was used to show the context menu.
"""
--
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/20191022/347978f6/attachment-0001.html>
More information about the webkit-unassigned
mailing list