Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
Qt for MCUs 2.5, Qt for MCUs 2.2.4
-
727300d1896347b3a4d87b11cb1f005fcfe07f2d (2.2.5), d5b30453579c939ccd234b45c115154e3c8d9662 (master), d098fd02149c76c900d5874e9387e3b7b77cb249 (2.5.2)
Description
Enabled property of child Items can be set to true while swipeView is disabled.
Way to reproduce:
1. Build and run the attached project with Qt for MCUs 2.2.4 or 2.5 (tested on Desktop kit).
2. Expected behavior can be seen initially when the application is in the SwipeState. In this state, when clicking on the upper button with the "Toggle swipe view" signature, one can see consecutive views being enabled/disabled. According to the "onCurrentIndexChanged" slot and enum defined inside, it can be expected only one view to be enabled at a time. In this state, everything works as expected.
3. Change state to the "RectState" by clicking the lower button with "Toggle stat" signature.
4. When application is in the "RectState", press the upper button for multiple times.
5. Press again the "Toggle stat" button to enable swipeView again.
6. Multiple views in the swipeView are enabled! It seems like child items in the swipeView can be enabled when the swipeView is not active, but they don't get disabled.
Additional notes: This seems to work like expected when the same was tested with Qt 6.5.2