Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-323

[REG 2.2 ->2.3] SwipeView does not move to correct index

    XMLWordPrintable

Details

    • d66e05b0, 3b672d06, 9440efb2, e2ce0046
    • Auto Sprint 2024/3.1, Auto Sprint 2024/3.2

    Description

      When using SwipeView and calling setCurrentIndex(0) when the current index is higher (while being on "screen 2" in the attached example) doesn't change to the screen 1 (corresponding index number 0). There is some brief animation happening, but then the index returns back to screen 2.

      Way to reproduce:
      1) Build and run the attached example with Qt for MCUs 2.8
      2) Swipe to screen 2
      3) Double click the screen (see reason for double click at: https://bugreports.qt.io/browse/QTMCU-322)
      4) Aforementioned behavior is seen when it would be expected to go to screen 1.

      After testing, this is regression between versions 2.2 and 2.3

      Attachments

        1. SwipeTest.zip
          2 kB
          Tuukka Kettunen
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            k0rahman Karim Abdelrahman
            foxxx Tuukka Kettunen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes