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

Halting touchpad sideways swipe on SwipeView makes it act weird

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.0
    • None
    • Linux/Wayland

    Description

      Testing the following simple code using qmlscene (also attached because formatting did me dirty):

      import QtQuick 2.0
      import QtQuick.Controls 2.15

      SwipeView {
      {{ anchors.fill: parent}}Rectangle {
      {{ id: firstPage}}
      {{ color:'red'}}
      {{ }}}
      {{ Rectangle {}}
      {{ id: secondPage}}
      {{ color: 'blue'}}
      {{ }}}
      {{ Rectangle {}}
      {{ id: thirdPage}}
      {{ color: 'green'}}
      {{ }}}
      }

      SwipeView fails to follow accordingly the path my fingers follow. Please findĀ this youtube video as a reference.

      In the video, the current page is the blue rectangle and I swipe to my right side in order to change to the red page. I do it just enough for the gesture to be registered, but the swipeview goes all the way to the end, noticeably bouncing back and forth without applying almost any side movement.

      Attachments

        1. dummyCode.qml
          0.3 kB
          Hector Iglesias
        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
            heqro Hector Iglesias
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes