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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 5.15.6, 6.2
    • 5.9.2
    • QPA
    • None
    • Mac OS X 10.13.1, Qt5.9.2

      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.

        1. TestMinimize.zip
          2 kB
        2. fswin.mov
          2.19 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes