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

Text rendered using GLWidget::renderText() is rendered at the wrong depth

    XMLWordPrintable

Details

    • Windows

    Description

      Texts are drawn even when it is behind of other objects.

      This might be related to QTBUG-31156 but the patch for QTBUG-31156 doesn't solve this problem.

      The problem doesn't occur in Qt4.8.x. See the image below.

      How to reproduce :
      Use the attached sample project "hellogl_with_bug.zip".
      Rotate the cube so that the text goes behind the cube.

      Note: The sample project "hellogl_with_bug.zip" is from QTBUG-31156.

      Attachments

        1. qtbug80867.png
          qtbug80867.png
          25 kB
        2. image-2020-02-21-12-39-28-217.png
          image-2020-02-21-12-39-28-217.png
          10 kB
        3. hellogl2.zip
          10 kB
        4. hellogl_with_bug.zip
          11 kB

        Issue Links

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

          Activity

            People

              qt.team.graphics.and.multimedia Qt Graphics Team
              nagrohn Nahomi Gröhn (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes