[Webkit-unassigned] [Bug 29388] [Qt] QtWebKit interprets Qt::XButton1 and 2 as clicks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 17 06:48:41 PDT 2010


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





--- Comment #5 from Tor Arne Vestbø <vestbo at webkit.org>  2010-03-17 06:48:41 PST ---
In QWebPage we ignore clicks from buttons unknown to WebCore (anything other
than left, middle, right), so if a x-button actually transfers to a normal left
button click this test in PlatformMouseEventQt is failing:

    if (event->button() == Qt::LeftButton || (event->buttons() &
Qt::LeftButton))
        m_button = LeftButton;
    else if (event->button() == Qt::RightButton || (event->buttons() &
Qt::RightButton))
        m_button = RightButton;
    else if (event->button() == Qt::MidButton || (event->buttons() &
Qt::MidButton))
        m_button = MiddleButton;
    else
        m_button = NoButton;

Regarding the behavior of navigating the history with xbutton, I would say this
is a browser feature.

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