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

QQuickWidget creates visual artifacts if combined with QML canvas

    XMLWordPrintable

Details

    • 2df6031b5935fafcada04bc15b281c63bdbfabf9

    Description

      This is a subtask of QTBUG-36935

      Take the qquickwidget example and replace the QML with:

      import QtQuick 2.1
      
      Canvas {
          objectName: "TimeDisplay"
          contextType: "2d"
      
          onPaint: {
              context.fillStyle = "green";
              context.fillRect(0, 0, width, height);
          }
      }
      

      Then resize the quickwidget inside the MDI area. At certain sizes persistent visual artifacts appear. See the screenshot.

      Attachments

        1. artifact.png
          1 kB
          Ulf Hermann
        2. artifact2.png
          0.4 kB
          Ulf Hermann
        3. artifacts_without_canvas_from_QTCREATORBUG-12908.png
          2 kB
          Ulf Hermann

        Issue Links

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

          Activity

            People

              tvete Paul Olav Tvete
              ulherman Ulf Hermann
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes