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

Window minimumWidth/Height do not layout the scene until the window is resized

    XMLWordPrintable

Details

    • 1828ab8557e824ec22b0c425dd417df3a0794a8c , 476dba9a9f3842041f465da92764646976b96551

    Description

      The below starts out as an empty window. If you resize the window, the red rectangle appears.

      Explicitly setting width/height works.

      import QtQuick 2.1
      import QtQuick.Window 2.1
      
      Window {
        minimumWidth: 600
        minimumHeight: 600
      
        Rectangle {
          anchors.fill: parent
          color: 'red'
        }
      }
      

      Attachments

        1. qtbug30996_declarative_diag.patch
          3 kB
        2. qtbug30996_linux_repro_demo.patch
          0.6 kB
        3. qtbug30996_linux.log
          2 kB
        4. qtbug30996.qml
          0.4 kB
        5. qtbug30996log_windows.txt
          2 kB

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              jfaust Josh Faust
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes