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

Enabled property of child Items can be set to true while swipeView is not active

    XMLWordPrintable

Details

    • 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

      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:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes