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

[REG] MacOs: Windows do not resize correctly in tabbed window mode

    XMLWordPrintable

Details

    • macOS
    • c99678fb19e579466f2a9e4df626de3cdb51f272 (qt/qtbase/5.12)

    Description

      The described issue does not exist in Qt 5.12.1 and was partly introduced in Qt 5.12.2 and made more apparent in Qt 5.12.3.

      To reproduce the issue, macOS Dock has to be configured to open all new windows in tabbed mode (which by default only happens in full screen mode):

      Then, the attached small program demonstrates the issue.

      Reproduction Steps:

      1. Start the application
      2. Click "new window" => new windows opens as a tab

      The results for each Qt version mentioned above:

      Qt 5.12.1 (all fine):

      When the app enters tabbed mode, all windows are resized correctly.

      Note that each window gets resize events for the required size adjust (320x175).

      Qt 5.12.2 (wrong report size, scaled height)

       The windows are resized, but the old size is still reported. The widget looks stretched down to 320x175 in height.

      No resize event for the tabbed mode change.

      Qt 5.12.3 (cut off, not scaled)

      The windows are no longer stretched in height, but cut off.

      No resize event for the tabbed mode change.

      General:

      • in full screen mode it works
      • removing the window shows the same issue
      • resizing the window fixes the wrong size

      I suspect it was somehow caused by 9f22ac0aa0254f20f9b26aec7b124d74141fdfcd but did not verify.

       

      Attachments

        1. image.png
          image.png
          25 kB
        2. image-2019-04-26-19-09-14-498.png
          image-2019-04-26-19-09-14-498.png
          70 kB
        3. image-2019-04-26-19-12-36-357.png
          image-2019-04-26-19-12-36-357.png
          25 kB
        4. image-2019-04-26-19-14-14-877.png
          image-2019-04-26-19-14-14-877.png
          25 kB
        5. image-2019-04-26-19-16-12-504.png
          image-2019-04-26-19-16-12-504.png
          25 kB
        6. main.cpp
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vestbo Tor Arne Vestbø
            hrabowski Maximilian Hrabowski
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes