Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. "Dot artifact" in Qt Quick scene graph
QtWS25 Last Chance

"Dot artifact" in Qt Quick scene graph

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qml renderingscene graphdot artifact
5 Posts 3 Posters 983 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Edgar Chen
    wrote on 10 Oct 2019, 04:22 last edited by Edgar Chen 10 Oct 2019, 19:28
    #1

    After updating our application from using Qt 5.9.2 to 5.12.2, we noticed a very serious QML rendering bug. After displaying/editing text from multiple text fields, a permanent dot artifact will appear on the main application Window. The dot artifact won't go away even on screen redraw. See the following video for a test app that demonstrates the problem. Since the dot is small (look closely at the 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

    The following is the QML code used to create the app shown 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 dot artifact seems to appear under the last position of the text field cursor. The color of the dot can be white or black or even other colors. We reproduced the issue using different video cards (nVidia, AMD) and even running under VMWare virtual machine. The bug does not occur if I switch back to 5.9.2. We are using Windows 10 version 1607, long term support branch. The bug also doesn't occur on Win 10 1803 or later, but we need to remain on 1607 due to other dependencies; and we needed some of the improvements in Qt 5.12.

    I've submitted a bug against Qt 5.12. Has anyone also noticed this issue? Any idea what might be the cause? It's a serious issue for us since we are developing a medical image review workstation software and this artifact will render together with images we display.

    Thank you in advance.

    J 1 Reply Last reply 10 Oct 2019, 05:20
    1
    • E Edgar Chen
      10 Oct 2019, 04:22

      After updating our application from using Qt 5.9.2 to 5.12.2, we noticed a very serious QML rendering bug. After displaying/editing text from multiple text fields, a permanent dot artifact will appear on the main application Window. The dot artifact won't go away even on screen redraw. See the following video for a test app that demonstrates the problem. Since the dot is small (look closely at the 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

      The following is the QML code used to create the app shown 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 dot artifact seems to appear under the last position of the text field cursor. The color of the dot can be white or black or even other colors. We reproduced the issue using different video cards (nVidia, AMD) and even running under VMWare virtual machine. The bug does not occur if I switch back to 5.9.2. We are using Windows 10 version 1607, long term support branch. The bug also doesn't occur on Win 10 1803 or later, but we need to remain on 1607 due to other dependencies; and we needed some of the improvements in Qt 5.12.

      I've submitted a bug against Qt 5.12. Has anyone also noticed this issue? Any idea what might be the cause? It's a serious issue for us since we are developing a medical image review workstation software and this artifact will render together with images we display.

      Thank you in advance.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 10 Oct 2019, 05:20 last edited by
      #2

      @Edgar-Chen Just an idea: can you try to update the graphics driver?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      E 1 Reply Last reply 10 Oct 2019, 07:09
      0
      • J jsulm
        10 Oct 2019, 05:20

        @Edgar-Chen Just an idea: can you try to update the graphics driver?

        E Offline
        E Offline
        Edgar Chen
        wrote on 10 Oct 2019, 07:09 last edited by
        #3

        @jsulm Yeah, we tried newer drivers, but no luck. Updating to a newer version of Win 10 did help, but as I mentioned, we need to stay with version 1607 LTSB for now due to other requirements. Also, we would like to learn the root cause since updating Windows might just hide the problem. Thanks.

        1 Reply Last reply
        0
        • I Offline
          I Offline
          Izowiuz
          wrote on 13 Oct 2019, 10:56 last edited by
          #4

          I have seen something very similar quite recently. I believe this is the same problem:

          https://bugreports.qt.io/browse/QTBUG-74492

          E 1 Reply Last reply 14 Oct 2019, 19:48
          0
          • I Izowiuz
            13 Oct 2019, 10:56

            I have seen something very similar quite recently. I believe this is the same problem:

            https://bugreports.qt.io/browse/QTBUG-74492

            E Offline
            E Offline
            Edgar Chen
            wrote on 14 Oct 2019, 19:48 last edited by Edgar Chen
            #5

            @Izowiuz Thanks! Yes that looks like the exact same problem. But the fix committed didn't include Windows 10. The fix comments mentioned the problem didn't occur under Windows 10, but we now reproduced here on Windows 10 1607 long term support branch.

            1 Reply Last reply
            0

            1/5

            10 Oct 2019, 04:22

            • Login

            • Login or register to search.
            1 out of 5
            • First post
              1/5
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved