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

REGRESSION: QOpenGLWidget ignore alpha channel as background

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.9.0, 6.10
    • GUI: OpenGL
    • None
    • Windows

      If you try to use a QOpenGLWidget as a transparent overlay window, it displays a solid black background instead of transparency in versions after 6.8.3. 

      I provide  .cpp/.h file to test with different version, here are my results:

      • 6.8.0: works as expected;
      • 6.8.3: works as expected;
      • 6.9.0: background is completely black; the alpha value of 0.0f is ignored;
      • 6.10.0: background is completely black; the alpha value of 0.0f is ignored.

      I create this inside main application window with this code:

      OpenGlWin* gl = new OpenGlWin();

        1. OpenGlWin.h
          0.3 kB
        2. OpenGlWin.cpp
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            lagocs Laszlo Agocs
            theenigmist Andrea Tessitore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes