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

Rendering issues at very high coordinates

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes