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

REG->5.13.1/Windows 7:Close button does not work on non-resizable apps with Areo theme disabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.13.1
    • Fix Version/s: 5.12.7, 5.13.2, 5.14.0 Beta 1
    • Component/s: GUI: Window management
    • Labels:
      None
    • Environment:
      WIndows 7 SP1 classic or basic desktop
    • Platform/s:
      Windows
    • Commits:
      a8ec52d5e76bc769ed63be1ad543be8f687e5dac (qt/qtbase/5.13) 2812f0861c99d9e82a3615a25e272def845b2090 (qt/qtbase/5.12)

      Description

      Hi, using Qt 5.13.1 on Windows 7 classic or basic desktop (i.e. with Aero disabled, non-transparent menu bars) the close button (the red X) no longer works if I set the app's minimum and maximum sizes to be the same.

      On Windows 10 or Windows 7 with Aero enabled the red close button works. On earlier Qt versions, like Qt 5.12.x or 5.7.x, the close button also works fine on Windows 7 classic or basic desktop. This behavior seems to have started with Qt 5.13 (haven't tested 5.13.0).

      Steps to reproduce:

      Using Qt Creator, create an empty vanilla widget application. In MainWindow's constructor, insert these 2 lines after ui->setupUi(this); :

      setMinimumSize(800,800);
      setMaximumSize(800,800);

      Currently I use the workaround setMinimumSize(800,801); to get the red close button to work again in Qt 5.13.1 but the problem is that the mouse cursor changes to indicate that a vertical resize is possible

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                anrocha André De La Rocha
                Reporter:
                hskoglund Henry Skoglund
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes