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

Windows: examples\opengl\qopenglwindow\qopenglwindow example does not work in full screen mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.9, 5.11.0 Beta 1
    • Fix Version/s: 5.11.0
    • Component/s: GUI: OpenGL
    • Labels:
      None
    • Environment:
      Windows 10, Desktop GL or ANGLE, Intel(R) HD Graphics 630
    • Commits:
      a060ee2802c72d8ce22f42635d1740bf2f84bed7

      Description

      When modifying the code to use window.showFullScreen(), the triangle and text are not drawn and warnings are printed:

      QOpenGLWindow::beginPaint: Failed to make context current
      QPainter::begin(): QOpenGLPaintDevice's context needs to be current
      QPainter::begin(): Returned false
      QPainter::setWorldTransform: Painter not active
      QPainter::setWorldTransform: Painter not active
      QPainter::fillPath: Painter not active
      QPainter::setWorldTransform: Painter not active
      ....
      

      This might a manifestation of some issue that needs to be documented?

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-67027
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              lagocs Laszlo Agocs
              Reporter:
              kleint Friedemann Kleint
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes