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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes