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

    • d66e05b0, 3b672d06, 9440efb2, e2ce0046

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes