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

TableView with FileDialog gives "Model size of -13 is less than 0"

    XMLWordPrintable

Details

    • Windows

    Description

      reproducible demo:

      import QtQuick 2.15
      import QtQuick.Window 2.15
      import QtQuick.Controls 2.15
      import QtQuick.Layouts 1.15
      import QtQuick.Dialogs 1.3
      
      Window {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hello World")
      
          FileDialog {
              visible: true
          }
      
          ColumnLayout {
              TableView {
                  Layout.leftMargin: 10
                  Layout.fillHeight: true
                  Layout.fillWidth: true
                  columnSpacing: 5
                  rowSpacing: 1
                  clip: true
              }
          }
      }

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              jiu shanheng jiu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes