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

Entire screen flickers black if one adds QOpenGLWidget to full-screen QMainWindow

    XMLWordPrintable

Details

    Description

      Flickering happens if I call showFullScreen() on QMainWindow, either before or after adding child opengl widget.
      If multiple screens are used, all of them flicker. But if window is moved to second (non-main) screen, there is no flickering.
      If I set other screen as main in Windows configuration, flickering happens on new main screen.

      I attached a minimal example project.
      This issue can be also reproduced in 2dpainting example, if you add setFullScreen() call to Window class ctor.

      Edit: corrected description.

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            tehme Teh Me
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes