[Webkit-unassigned] [Bug 56466] Popup menu can get stuck in closed state when GtkMenu can't grab mouse.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 3 08:49:17 PDT 2011


Martin Robinson <mrobinson at webkit.org> changed:

           What    |Removed                     |Added
                 CC|                            |andersca at apple.com,
                   |                            |sam at webkit.org

--- Comment #6 from Martin Robinson <mrobinson at webkit.org>  2011-10-03 08:49:17 PST ---
(In reply to comment #5)

> Thanks for your comments, 
> I need to talk to webcore from UIProcess to do client()->popupDidHide(). 
> I see WebProcess calls ShowPopupMenu() in WebPopupMenu::show() and there is no such  m_popupClient available with UIProcess 
> to do above task. There could be few ways to do it if i am correct?
> 1) Send m_popupClient as an argument to ShowPopupMenu()
> 2) Implement IPC mechanism from WebPopupMenuProxyGtk that will inform webcore if popupmenu is displayed. 
> 3) Have PopupMenuGtk owned with WebPopupMenuProxyGtk class with this we can access PopupMenuClient
> Let me know your suggestions before i start implementing!

My preference is that you create a virtual method in WebPopupMenuProxy::Client called something like failedToShowPopupMenu and implement it in WebPageProxy like the other pop messages. From there you need to an IPC message to pipe it to the WebProcess.

I would double check with andersca or Sam about this approach though. I'll CC them.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list