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

QmainWindow doesn't switch to full screen on Mac OS 10.10 properly when there is a native widget

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9, 5.10
    • 5.4.0
    • QPA
    • None
    • Mac OS X 10.10
    • macOS

    Description

      Initially, I've encountered this issue in my program that uses QGLWidget, but then I found out that simply setting AA_NativeWidgets attribute to QApplication triggers this behavior (see the attached sample project).

      Steps to reproduce and symptoms:
      1. Switch the window to fullscreen mode. Note that the window does not maximize completely, there is a stripe at the very top of the screen filled with toolbar contents (or some part of it).
      2. Move the mouse to the very top of the screen to display the menu and title bar. The menu shows up fine, but the title bar is invisible - it is impossible to exit fullscreen mode.

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            violetgiraffe Alex
            Votes:
            27 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes