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

frameless window can't minimize or maximize on mac

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.4.0
    • Fix Version/s: None
    • Component/s: QPA
    • Labels:
      None
    • Environment:
      Mac OS X 10.9, Qt5.4, xcode 6 llvm(3.5)
    • Platform/s:
      macOS
    • Commits:
      d024f0a9228a33787f2e9b0ecb2573041fa048df

      Description

      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:
              tpochep Timur Pocheptsov
              Reporter:
              billconan shi yan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes