[Webkit-unassigned] [Bug 60563] [Chromium]Click event is not fired for a menulist <select>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 23 14:51:00 PDT 2011


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





--- Comment #29 from Naoki Takano <takano.naoki at gmail.com>  2011-05-23 14:51:00 PST ---
Yes, I forgot to tell you one more thing.

So, to make sure the even is accepted or cancel, I add one more function in PopupContainer, like bool clickIsAccepted() something like that.

And only if the return value is true, we send the event.

What do you think?

(In reply to comment #28)
> (In reply to comment #26)
> > Jay,
> > 
> > Stil, I'm thinking how to deal with this problem.
> > 
> > And my current idea is to forward the mouse down event in WebPopupMenuImpl::popupClosed().
> > In the function, we can get PopupContainer from m_widget, and get ChromeClientImpl::webView().
> > 
> > We can get WebViewClient from webView()::client(). Once we can get WebViewClient which derives RenderView, we can forward mouse click events to RenderView.
> > 
> > The tricky point is to get PopupContainer from m_widget with static_cast. But if we don't change anything in WebCore source code, I guess that is the only way.
> > 
> > What do you think?
> 
> Sorry for the delay.
> Wouldn't WebPopupMenuImpl::popupClosed() be called even when the mouse is not involved (popup closed by keyboard action)?
> I am looking into it to see if I have other suggestions.

-- 
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