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

Binding for "visible" not respected after parent item visible changed

    XMLWordPrintable

Details

    Description

      In a simple test where one of two sibling items binds its visible property to the others !visible (a.visible: !b.visible) the binding seems to get confused as soon as their parent item visible value changes and while the binding seems to be preserved, both of the items end up visible at the same time.

      Steps to reproduce the problem:

      • Run the attached project.
      • click the button a few times

      NOTE: there's an easy workaround. By updating green visible property in red.onVisibleChanged handler the problem doesn't occur.

      Attachments

        Activity

          People

            kwkim Kwangsub Kim
            miikapernu Miika Pernu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: