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

Swipe to delete (SwipeDelegate) does not work on mobile devices

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.15.2, 6.0.0
    • Quick: Controls 2
    • None
    • Qt Creator 4.14, Qt 5.15.2, Samsung Galaxy S10 with Android 10.0,
      Samsung Galaxy Tab S2 with Android 7.0,
      iPhone8 with iOS 14.4,
      Android emulator 8.0,
      iOS simulator 13.7
    • Android, iOS/tvOS/watchOS

    Description

      Tested with Qt 5.15.2 (commercial) and following devices:

      • Samsung Galaxy S10 with Android 10.0
      • Samsung Galaxy Tab S2 with Android 7.0
      • iPhone8 with iOS 14.4
      • Android emulator 8.0
      • iOS simulator 13.7

      Steps to reproduce:

      1. Run "Qt Quick Controls - Swipe to Remove" project from Examples or attached sample app (https://doc.qt.io/qt-5/qml-qtquick-controls2-swipedelegate.html) 

      2. Swipe on the cell to delete it. 

      3. Tap the 'Delete' button

      Expected: Cell is removed from the list.

      Actual: 

      • The cell is not removed. The delete button changes its color, but nothing more happens.
      • See attached videos from mobile and from the desktop for comparison:  swipe-to-delete-mobile.mp4 swipe-to-delete-desktop.mov
      • It works even worse with Qt 6.0.0: Swipe action does not work on mobile (Delete button does not appear at all), on desktop pressing Delete does not remove the cell. 

       

       

      NOTES: It works well on Desktop (MacOS)

       

      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
              lukasz.kosiorowski lukasz.kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes