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

MouseArea in header of ListView doesn't work with OverlayHeader

    XMLWordPrintable

Details

    • Linux/X11
    • 2acb31641fc9c34d24ac29232cdfec2673834629

    Description

      I've attached an example of what fails as of Qt 5.15 (this works in 5.14).

      When a MouseArea of TapHandler is in the header delegate for a ListView, setting the headerPositioning to OverLayHeader prevents them from intercepting mouse events.

       

      I suspect it relates to this change: https://codereview.qt-project.org/c/qt/qtdeclarative/+/283566

      https://bugreports.qt.io/browse/QTBUG-74046

      Attachments

        1. main.qml
          2 kB
          Justin Rens

        Issue Links

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              babalas Justin Rens
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: