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

SwipeDelegate not working on iOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 5.9.0 Beta 4
    • 5.9.0 Beta 3
    • Quick: Controls 2
    • None
    • iOS 10.3.1, iOS Simulator
    • iOS/tvOS/watchOS
    • c0ef03934632ebe897d8c2ebee2f9af53e168ed8

    Description

      SwipeDelegate is not swiping on iOS in 5.9.0 Beta 3. Simple example:

      import QtQuick 2.7
      import QtQuick.Controls 2.1
      
      ApplicationWindow {
        visible: true
        width: 200
        height: 200
      
        ListView {
          anchors.fill: parent
          model: ListModel {
            ListElement {
              name: "Bill Smith"
            }
            ListElement {
              name: "John Brown"
            }
            ListElement {
              name: "Sam Wise"
            }
          }
      
          delegate: SwipeDelegate {
            width: parent.width
            height: 40
            Label {
              text: model.name
            }
      
            swipe.right: Rectangle {
              color: "#B71C1C"
              width: parent.width
              height: parent.height
            }
          }
        }
      }
      

      Works on macOS, but doesn't work on iOS
      If I change swipe.right to swipe.behind, result is the same

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            beemaster Roman Pasechnik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes