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

ListView "clip" steals mouse clicks from header item

    XMLWordPrintable

Details

    • All
    • 2acb31641fc9c34d24ac29232cdfec2673834629

    Description

      A header item (and its children) of a ListView will no longer get any mouse click events when property "clip" is set to true.

      A simple MouseArea's onClicked within the ListView header item will not be called.

      Worked fine up to Qt 5.15.

      See example code attached in ListViewClip.qml

      Attachments

        1. ListViewClip.qml
          2 kB
        2. qtbug85223.zip
          2 kB

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              ranger Dietmar Finkler
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes