Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
Qt for MCUs 2.3, Qt for MCUs 2.5.4, Qt for MCUs 2.9, Qt for MCUs 2.8.1
-
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