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

When calling showNormal() then depending on the show calls before it, it might not restore the window

    XMLWordPrintable

    Details

    • Commits:
      5f00d18ad34979f57d6c17770ee9df5a2acb93e6 (qtbase/5.6, 1.12.2015, 5.6)

      Description

      When calling showNormal() then depending on the show calls before it, it might not restore the window. For example, if you do:

      w.show();
      w.showMaximized();
      w.showMinimized();
      w.showNormal();
      

      then it will end up being maximized, instead as what might be expected which is for it to be shown as a restored window. If the showMinimized() call is commented out then it behaves as expected.

      Qt Windows XCB
      4 minimized normal
      5 maximized minimized

        Attachments

        1. qtbug48449_diag.diff
          2 kB
        2. qtbug48449_diag2.diff
          4 kB
        3. qtbug48449.diff
          1 kB
        4. qtbug48449.zip
          2 kB
        5. qtbug48449.zip
          0.7 kB

          Issue Links

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

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              andysh Andy Shaw
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes