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

Dot artifact in Qt Quick scene graph

    XMLWordPrintable

    Details

    • Platform/s:
      Windows
    • Commits:
      be73bdc5d2491d036e5a6334dada453ed808dbc0 c6d07c54188a4da12796e565b7a2f524d2fe20ec (qt/qtbase/5.12) de8538966f51cb1589bfc4032be99b266707e26c (qt/tqtc-qtbase/5.12.5)

      Description

      After updating from Qt 5.9.2 to 5.12.2, we noticed dot artifacts on the main application after using text fields. The dot artifacts wouldn't go away on screen refresh (would render on top of what was displayed on screen). Following is a video of a sample app that demonstrates the problem, since the dot is small (see upper left of the test app), make sure the video window is at least 512x512 when viewing):
      https://drive.google.com/file/d/1SWLtwaliHp78E420Js8CKz7FOj9_Ioca/view

      This is the QML used to create the sample app above:

       

      import QtQuick 2.12
      import QtQuick.Controls 2.12
      
      Rectangle {
       color: "grey"
       width: 600
       height: 600
       Dialog {
       id: "testDialog"
       width : 512
       height: 512
       contentItem: Rectangle {
       TextField {}
       TextField {
       y: 50 
       }
       }
       standardButtons: Dialog.Ok
       }
       Button {
       y: 520
       text: "Open Dialog"
       onClicked: \{ testDialog.open(); }
       }
      }
      

      The artifact seems to appear under the last position of the text field cursor. We reproduced the issue on different video cards with latest drivers (nVidia, AMD, even VMWare's SVGA virtual graphic driver on virtual machines). We are running on Windows 10 1607 Long Term Support Branch with latest updates. If I change the test app back to using 5.9.2, the problem doesn't occur. Also, updating Windows 10 to 1803 or above will also make the problem go away. But our app needs to remain on 1607 LTSB. 
       

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                andysh Andy Shaw
                Reporter:
                edgarc Edgar Chen
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes