[Webkit-unassigned] [Bug 56526] [Qt] Mouse events fall through MouseArea to underlying WebView

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 14 07:51:17 PDT 2011


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


Caio Marcelo de Oliveira Filho <caio.oliveira at openbossa.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
         AssignedTo|webkit-unassigned at lists.web |caio.oliveira at openbossa.org
                   |kit.org                     |
     Ever Confirmed|0                           |1




--- Comment #2 from Caio Marcelo de Oliveira Filho <caio.oliveira at openbossa.org>  2011-04-14 07:51:17 PST ---
Damian, MouseArea has a property called 'acceptedButtons', which is by default Qt.LeftButton. Buttons not accepted are not treated by the MouseArea, and can affect the WebView.

http://doc.qt.nokia.com/latest/qml-mousearea.html#acceptedButtons-prop

When mouse hovers on top of a link, the cursor changes. To avoid that, you should use 'hoverEnabled: true' to make the mouse area track the hover events and avoid them to hit WebView.

http://doc.qt.nokia.com/latest/qml-mousearea.html#hoverEnabled-prop

In your example, MouseArea blocks the Left Button for me. So I don't think there's nothing wrong in your example.

BUT, if I change your example based on my comment to "cover all the bases", everything works except for the Right Click that still shows the menu with RELOAD.

I'm looking into that issue.

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