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

Window twitching on moving with Quick3D content

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • 5.15
    • 5.14.0
    • Quick: 3D
    • None
    • Windows
    • Qt Quick 3D - Week 11/12

    Description

      ApplicationWindow {
          id: window
          ...
      
          flags: Qt.Window | Qt.FramelessWindowHint
      
          Image {
              id: header
              source: "qrc:/images/header.png"
              MouseArea {
                  anchors.fill: parent
                  property point clickedPos: Qt.point(0, 0)
      
                  onPressed: {
                      clickedPos = Qt.point(mouse.x, mouse.y)
                  }
      
                  onPositionChanged: {
                      var delta = Qt.point(mouse.x - clickedPos.x,
                                           mouse.y - clickedPos.y)
                      window.x += delta.x
                      window.y += delta.y
                  }
              }
          }
      
          // Just an empty View3D:
          View3D {
              id: view3d
              anchors.fill: parent
          }
      }

      What exactly happens - is awful and unpredictable window twitching on moving by dragging a window's header. It jumps over all screen! And it happens only if a View3D is placed.

      Tested on Intel UHD Graphics 630 on Windows 10 x64 (1909) and with Qt 5.14.0 MSVC-2017 (app builded with MSVC 2019).

       

      Attachments

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

        Activity

          People

            janichol Andy Nichols
            hoshimin Alexander EREMEEV
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes