Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
Qt for MCUs 2.5.1
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.