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

QOpenGLWidget::showFullScreen spans multiple spaces on Mac OS X...

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.9.3, 5.9.4
    • GUI: OpenGL
    • None
    • Mac OS X 10.13.3 on a Mac Book Pro

      Qt 5.9.3 and 5.9.4
    • macOS

    Description

      I have a Mac Book Pro laptop with a second HDMI projector.  I then try to create a QOpenGLWidget class to fill the projector screen using the following code:

      QOpenGLWidget w;

      ((QWindow *)w.window())->setScreen(QGuiApplication::screens().at(userScreen)); w.showFullScreen(); 

      The resulting widget properly covers the second HDMI screen, but then my laptop screen is blacked out.  I can't see my desktop or any widgets.

       

      Attachments

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

        Activity

          People

            sletta Gunnar Sletta
            drhalftone Daniel Lau
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes