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

Flickable jump back when scrolling to the edge in KDE

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.9.0
    • None
    • kubuntu 25.04
    • Linux/Wayland

    Description

      When scrolling a ListView like below, the content will jump back when scrolling to  the edge. see attached video

      Window {
          width: 640
          height: 480
          visible: true
          ListView {
              anchors.fill: parent
      
              model: 50
              delegate: Text {
                  text: qsTr("Item %1").arg(index)
              }
          }
      }
      

      Screencast_20250602_210347.webm

       

      and if we print out the detail of the wheel event, we can find that the pixel delta for wheel event will occassionally become zero

       

      pixelDelta:  QPoint(0,-2)  angleDelta:  QPoint(0,-21)
      pixelDelta:  QPoint(0,-1)  angleDelta:  QPoint(0,-11)
      pixelDelta:  QPoint(0,-1)  angleDelta:  QPoint(0,-16)
      pixelDelta:  QPoint(0,-1)  angleDelta:  QPoint(0,-5)
      pixelDelta:  QPoint(0,-1)  angleDelta:  QPoint(0,-16)
      pixelDelta:  QPoint(0,-2)  angleDelta:  QPoint(0,-21)
      pixelDelta:  QPoint(0,0)  angleDelta:  QPoint(0,-11)
      pixelDelta:  QPoint(0,-3)  angleDelta:  QPoint(0,-26)
      pixelDelta:  QPoint(0,-1)  angleDelta:  QPoint(0,-16)
      pixelDelta:  QPoint(0,-1)  angleDelta:  QPoint(0,-11)
      pixelDelta:  QPoint(0,-2)  angleDelta:  QPoint(0,-26)
      pixelDelta:  QPoint(0,0)  angleDelta:  QPoint(0,-5)

      Attachments

        For Gerrit Dashboard: QTBUG-137323
        # Subject Branch Project Status CR V

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            wang_chuan wang chuan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change