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

MouseArea containsMouse is unreliable for touch events

    XMLWordPrintable

Details

    • Windows

    Description

      In the example from QTBUG-62912 (https://bugreports.qt.io/browse/QTBUG-62912), the MouseAreas trigger hoverEvents (MouseArea.containsMouse) unreliable. The buttons in the same example work fine.

      Reproduce:
      Move the finger on a touch screen over the four MouseAreas in the left column.

      Expected behavior:
      All four MouseAreas change color due to the change in MouseArea.containsMouse.

      Observed behavior:
      The upper 2 mouseAreas behave as expected, the lower 2 mouseAreas do not change color when moving the finger over them. However, they do when the finger is lifted and pressed on the respective position.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              matthias_rauter Matthias Rauter
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes