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

        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