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

Rendering issues at very high coordinates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.7.2
    • None

      If coordinates are high enough, there will be a difference between where the item is rendered compared to where it actually is and can be interacted at. For example in a very long Flickable type components.

      Can be reproduced with this, use the scroll bar to jump to halfway for example and try to click the buttons there:

      import QtQuick
      import QtQuick.Controls
      import QtQuick.Window
      
      Window {
          visible: true
          width: 1024
          height: 600
          color: "white"
          ListView {
              anchors.fill: parent
              ScrollBar.vertical: ScrollBar { }
              model: 50000000
              spacing: 0
              delegate: Button {}
          }
      }
      

      If the view is scrolled to the same position at startup programmatically, it works fine because originY changes and it cancels out. Maybe it could be made to do this origin resetting at runtime too if the coordinates are getting too high.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            poikelin Joni Poikelin
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes