Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-70816

Pressing a button inside a MouseArea and then another outside of the QQuickWidget it is in will cause the MouseArea to no longer get events

    XMLWordPrintable

Details

    • ac4f075274414aac1b6cf2e8e854f0f21fee0761 (qt/qtbase/5.12)

    Description

      Pressing a button inside a MouseArea and then another outside of the QQuickWidget it is in will cause the MouseArea to no longer get events. If the mouse does not leave the QQuickWidget and the same steps are done then it works fine.

      In the example, to reproduce do the following:

      • Press the left button in the red rectangle area
      • Move the mouse to the area outside
      • Press the right button
      • Note that there is no output indicating that it got the right button press

      If you do the same without leaving the mouse area, or move down to under the mouse area then the right button is seen as pressed even if you are not in the mouse area. As long as you are still in the QQuickWidget.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              tvete Paul Olav Tvete
              andysh Andy Shaw
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes