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

REGRESSION: QOpenGLWidget ignore alpha channel as background

    XMLWordPrintable

Details

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

    Description

      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();

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes