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

MouseArea.containsMouse is broken on Android

    XMLWordPrintable

Details

    • Android

    Description

      Yet another input bug on Android, if you are to touch over one mouse area and move the finger to another mouse area and release, the second mouse area's containsMouse will be stuck to true until another mouse area is touched:

        Column {
          spacing: 2
          Repeater {
            model: 5
            delegate: MouseArea {
              width: 200
              height: 100
              Rectangle {
                anchors.fill: parent
                color: parent.containsMouse ? "red" : "blue"
              }
            }
          }
        }
      

      Much like rapidly clicking two mouse areas rapidly results in a bogus double click in the second, this issue too appears to be a product of poor platform support implementation.

      Attachments

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

        Activity

          People

            srutledg Shawn Rutledge
            dgo dgo
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes