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

QGLWidget/QGLContext::makeCurrent() should return a bool

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • P2: Important
    • 5.0.0
    • 4.1.2
    • GUI: OpenGL
    • None

    Description

      A call to wglMakeCurrent() made by QGLWidget which failed is ignored silently and no status or indication is returned to the program. This is a severe bug since the program doesn't have any way to know something went wrong. The docs mentions "In some very rare cases the underlying call may fail. If this occurs an error message is output to stderr." This is not sufficient. It should do something more sensible like making isValid() return false. This "rare" case happens when for example running an app with Compuware DevPartner Performance Analysis.

      Attachments

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

        Activity

          People

            rweather Rhys Weatherley (closed Nokia identity) (Inactive)
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes