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

[REG 5.3->5.4] OS X: changing QMainWindow's min width and resizing causes stretching of contents on Mac, in Qt 5.4

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.4.2
    • 5.4.0
    • None
    • Created sample project to show problem. Building with 5.4 the problem exists on Mac (do not see this on Windows or Linux). Building with 5.3 the problem does NOT exist.
    • macOS
    • ba440f35e1dc38a7cdec72176b921c7a6f4a4727

    Description

      This problem ONLY occurs on Mac and Qt 5.4
      Building application with Qt 5.4 when you expand the width of a window the contents are stretched when the call to the setMinimumWidth() or the resize() call is made. This does NOT occur on Qt 5.3.
      See attachments that show the window after each step in the debugger.
      Attached zip contains the sample project to reproduce the problem.

      Attachments

        1. Archive.zip
          13 kB
          Paul Cushman
        2. macgui_test.zip
          4 kB
          Paul Cushman
        3. macTest_recording.mov
          5.87 MB
          Paul Cushman
        4. scaling.mov
          5.58 MB
          Timur Pocheptsov
        5. ScreenShot-5.3_after_resize.png
          36 kB
          Paul Cushman
        6. ScreenShot-5.3_after_setMinimumWidth.png
          32 kB
          Paul Cushman
        7. ScreenShot-5.4_after_resize.png
          38 kB
          Paul Cushman
        8. ScreenShot-5.4_after_setMinimumWidth.png
          33 kB
          Paul Cushman
        9. untitled6.zip
          4 kB
          Gabriel de Dietrich (drgvond)
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tpochep Timur Pocheptsov
            pcushman Paul Cushman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes