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

Widget showMaximized() is not working as expected for a widget having very small height

    XMLWordPrintable

Details

    • Windows

    Description

      If for a widget, height is reduced to a small value in Form.ui, showMaximized() does not work as expected. It goes into a broken maximize state positioned in the top left corner with no resize options. Clicking Maximize centres the app and allows for restore, clicking Maximize again then correctly maximizes.
      Please find the attached sample, where you can see height is changed in Form.ui, say 700.
      If you increase height to say, 2000, showMaximized() will work fine,

      showMaximized() should not be depended on height specified in the form.

      Attachments

        1. Capture_fine.PNG
          Capture_fine.PNG
          54 kB
        2. Capture_issue.PNG
          Capture_issue.PNG
          53 kB
        3. qtbug77077_diag.diff
          3 kB
        4. qtbug77077_log.txt
          0.6 kB
        5. qtbug77077.zip
          4 kB
        6. qtbug77077.zip
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            shmittal Shveta Mittal (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes