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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes