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

CLONE - frameless window can't minimize or maximize on mac

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: 5.9.2
    • Fix Version/s: 6.2, 5.15.6
    • Component/s: QPA
    • Labels:
      None
    • Environment:
      Mac OS X 10.13.1, Qt5.9.2

      Description

      Unfortunately we have the same issue https://bugreports.qt.io/browse/QTBUG-44195 now, with Qt 5.9.2 on macOS 10.13.1. We use the following flags to our customised main app window: 

      `Qt.FramelessWindowHint | Qt.Window | Qt.NoDropShadowWindowHint` and we can not minimise it by using

      `showMinimized()` method.

       

      Here is the original message from https://bugreports.qt.io/browse/QTBUG-44195 :

       

      for our project, we need to fully customize the window. to achieve this, we create a frameless window and draw a fake titlebar on the frameless window.

      but we found out that frameless Qt app under mac can't perform maximize and minimize.

      in the attachment, you can find a simple app that reproduces the issue. there is a button on the frameless window, click that button will call showMinimize(), but the window stays.

      but the same app works on windows.

        Attachments

        1. fswin.mov
          2.19 MB
        2. TestMinimize.zip
          2 kB

          Issue Links

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

            Activity

              People

              Assignee:
              vestbo Tor Arne Vestbø
              Reporter:
              ildar Gilmanov Ildar
              PM Owner:
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              5 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes