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

QQuickWidget creates visual artifacts if combined with QML canvas

XMLWordPrintable

    • 2df6031b5935fafcada04bc15b281c63bdbfabf9

      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.

        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
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes