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

QPainter::drawRect fills OpenGL window background when pen's alpha != 1.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • None
    • 5.15, 6.2
    • GUI: OpenGL, GUI: Painting
    • None
    • macOS

      The attached modification of the OpenGLWindow example renders a frame around the window with a fully opaque pen (alpha value 255), which works as it should. When pressing the mouse into the window, the pen gets an alpha value of 254. With such a pen, the entire rect gets filled with the pen's color.

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

            lagocs Laszlo Agocs
            vhilshei Volker Hilsheimer
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes