The repository to reproduce the issue : https://git.qt.io/mikio.hirai/statebug
I'm using Windows11 with the Kit Qt for MCUs 2.4 - Desktop 32bpp(MSVC)
In the State documentation(https://doc.qt.io/QtForMCUs-2.4/qml-qtquick-state.html), there's a sentence saying "If multiple states in a group have a when clause that evaluates to true at the same time, only the first matching state is applied. For example, in the following snippet, state1 is always selected rather than state2 when sharedCondition becomes true." with a code snippet :
I tried it myself with the qml file below:
Here, I used the same condition "mousearea.pressed" for "when" of both "pressed" state and "extended" state.
According to the documentation, when the "pressed" turned true in "mousearea," only the transition to "pressed," the first one, should be triggered, like in the attached "expected_bahavior.gif."
However, when the "mousearea" is clicked, it seems that the behavior of the app shows it transitioned to "extended" instead, like in the attached "actual_behavior.gif."