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

[REG] Item inside maximized window gets wrong initial size on macOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.10
    • 5.10
    • QPA
    • None
    • macOS 10.11
    • macOS

      Run the following example with dev branch and 5.9 branch to compare:

      import QtQuick 2.6
      import QtQuick.Window 2.2
      
      Window {
          visible: true
          width: 640
          height: 480
          title: qsTr("Hello World")
          visibility: Window.Maximized
      
          Text {
              id: t
              text: "Big text"
              anchors.fill: parent
              font.pixelSize: 300
          }
      }
      

      In Qt 5.9 it will correctly resize the text to the size of the window, but in the current dev branch it will get the original size of the window and will not update before you resize the window manually.

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

            vestbo Tor Arne Vestbø
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes