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

QOpenGLWidget and QQuickWidget fail to apply clipping

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.5.0 RC
    • 5.4.0, 5.4.1, 5.5.0 Alpha
    • GUI: OpenGL
    • None
    • Linux Ubutun 14.04
    • 78e335408303380310dd59fab421e495cf517ead

    Description

      A QOpenGLWidget is placed in a QScrollArea.
      This ScrollArea is put in a QGridLayout with 3 other QOpenGLWidget.
      The drawing of the first QOpenGLWidget overtake the other QOpenGLWidget.

      I have made a little exemple that can be found in attachement.
      The QOpenGLWidget that is in the QScrollArea is clear in red, the other have no paint function.
      Moving the scrollBar, move the red rectangle in the other QOpenGLWidget.
      The result can be found in the picture in attachment.

      Attachments

        1. Not clipped fully clipped.png
          67 kB
          Maurits
        2. Problem.png
          11 kB
          Delphine Passinge
        3. QopenGLWidgetsScrollArea.tar.gz
          2 kB
          Delphine Passinge

        Issue Links

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

          Activity

            People

              lagocs Laszlo Agocs
              deac Delphine Passinge
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes