[Webkit-unassigned] [Bug 65875] [Qt][WK2] MiniBrowser is firing twice the QDesktopWebView::mousePressEvent method
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 9 12:35:55 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=65875
--- Comment #4 from Igor Trindade Oliveira <itrindade.oliveira at gmail.com> 2011-08-09 12:35:55 PST ---
Probably we are talking about two different things. I added a test case where onmousedown event is firing two times the callback. It happens because QDesktopWebView::mousePressEvent is called twice.
(In reply to comment #2)
> (From update of attachment 103291 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=103291&action=review
>
> > Tools/MiniBrowser/qt/MiniBrowserApplication.cpp:107
> > if (m_touchPoints.contains(touchPoint.id()))
> > touchPoint.setState(Qt::TouchPointMoved);
> > - else
> > - touchPoint.setState(Qt::TouchPointPressed);
> > + else {
> > + if (mouseEvent->modifiers().testFlag(Qt::ControlModifier))
> > + touchPoint.setState(Qt::TouchPointPressed);
> > + }
>
> It seems to me that the problem might be that m_touchPoints.contains(touchPoint.id()) == false.
> If the touchpoint is still active because, it should be in m_touchPoints.
--
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