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

SwipeDelegate item lost its state when scrolling the list out of screen view

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.15.12, 6.4.2
    • Quick: Controls 2
    • None
    • All

      Steps to reproduce:

      1. Use the attached sample project or use quicontrols gallery example.
      2. Run the example on any device.
      3. Swipe on the first few items. 
      4. Swipe on the last few items.
      5. Scroll down and scroll up the list. 
      6. Check swiped items.

      Expected: State should not change. (or state could change, but the behavior needs to be consistent)

      Actual: Swipe action (Delete) disappears after scrolling out of the screen. The first item holds its state (The delete button does not disappear).

      Reproducibility:  100% 

        1. Screen Recording 2023-02-27 at 17.15.35.mov
          14.90 MB
          Łukasz Kosiorowski
        2. swipe.zip
          9 kB
          Łukasz Kosiorowski
        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
            lkos Łukasz Kosiorowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes