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

Events stealing happens for MouseArea in some cases (preventStealing == true)

XMLWordPrintable

    • 6ad3445f1e159d9beea936b66d267dcaacdc5d6c (qt/qtdeclarative/5.15)

      We faced with the following problem:  QML list view scrolls if scrolling starts from list header. To prevent it we tried to place MouseArea on a header and set preventStealing to true for it.

      It worked for some cases, but if that MouseArea contains Button as a child, list scroll can be started from this button. So MouseArea allows ListView to steal events from its child.

      Code sample is in attachment.

        For Gerrit Dashboard: QTBUG-74046
        # Subject Branch Project Status CR V

            srutledg Shawn Rutledge
            olga_borina Olga Borina
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: