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

QQuickWidget creates visual artifacts if combined with QML canvas

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.3.0
    • Fix Version/s: 5.3.0 Beta1
    • Component/s: Quick: Other
    • Labels:
    • Environment:
      Debian 7, X11
    • Commits:
      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

              Assignee:
              tvete Paul Olav Tvete
              Reporter:
              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