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

[REG 2.4 ->2.5] setCurrentIndex of SwipeView requires to be called twice to change the index

    XMLWordPrintable

Details

    • d66e05b0, 3b672d06, 9440efb2, e2ce0046

    Description

      When using SwipeView, calling the setCurrentIndex does not trigger the SwipeView to flick to new index on a first call. Second call triggers the flicking to a new index.

      Way to reproduce:

      1) Build and run the attached example with Qt for MCUs 2.8.
      2) Click the SwipeView once, it does not trigger the SwipeView to go to new index.
      3) Click the SwipeView second time, it moves to second index

      It is expected that SwipeView shows the second Item on a first call.

      After testing, this seems to be regression between versions 2.4 and 2.5.

      Attachments

        Issue Links

          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:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes