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

[REG 2.4 ->2.5] decrementCurrentIndex() and incrementCurrentIndex() stop working after trying to swipe past the min/max index

    XMLWordPrintable

Details

    Description

      When using decrementCurrentIndex, incrementCurrentIndex and setCurrentIndex via some buttons, if you first try to drag out of the swipe, these functions to change the index stop to work.

      For example, if you have 3 pages and use the drag to go to page 0, 1 or 2, everything works fine. If you try to go to "page 3" (out of the swipe), the index can't be changed by these routines or currentIndex property change.

      This is a regression between Qt for MCUs 2.4 and 2.5

      Way to reproduce:
      1) Build and run the attached example using Qt for MCUs 2.5
      2) Try to swipe to index -1 or 3 and then try to change by pressing the buttons. The buttons do not change the index.
      3) After Swiping back to existing index, the buttons start to work again.

      Attachments

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

        Activity

          People

            samuelmira Samuel Mira
            foxxx Tuukka Kettunen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes