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

Application doesn't respond for some ListView configuration.

    XMLWordPrintable

    Details

    • Platform/s:
      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

        1. tmp.7z
          0.7 kB

          Issue Links

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

            Activity

              People

              • Assignee:
                juri.valdmann Jüri Valdmann
                Reporter:
                evgeniy_kolchin Kolchin Evgeny
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Gerrit Reviews

                  There is 1 open Gerrit change