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

Application doesn't respond for some ListView configuration.

    XMLWordPrintable

Details

    • Linux/X11, Windows

    Description

      import QtQuick 2.12
      
      
      Item {
          id: root
          width: 640
          height: 480
      
          ListView {
              focus: true
              anchors.fill: parent
              model: 10
              header: Rectangle {
                  width: 640
                  height: 50
                  color: "green"
                  z: 11
                  opacity: 0.5
              }
              headerPositioning: ListView.OverlayHeader
              spacing: 50
              snapMode: ListView.SnapToItem
              preferredHighlightBegin: 0.1
              preferredHighlightEnd: 0.1
              highlightRangeMode: ListView.ApplyRange
      
              delegate: Rectangle {
                  width: 640
                  height: 100
                  color: ListView.isCurrentItem ? "red" : "blue"
      
              }
          }
      }
      

      This ListView configuration causes the application to hang.

      Attachments

        Issue Links

          Activity

            People

              juri.valdmann Jüri Valdmann (Inactive)
              evgeniy_kolchin Kolchin Evgeny
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: