[Webkit-unassigned] [Bug 65875] [Qt][WK2] MiniBrowser is firing twice the QDesktopWebView::mousePressEvent method
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 8 15:28:48 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=65875
Benjamin Poulain <benjamin at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #103291|review?, commit-queue? |review-
Flag| |
--- Comment #2 from Benjamin Poulain <benjamin at webkit.org> 2011-08-08 15:28:48 PST ---
(From update of attachment 103291)
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