Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-112838

'visible' of QQuickItem cannot be set to 'true' again after being set to 'false' once.

XMLWordPrintable

    • 5ba3db212 (dev), 564734561 (6.5)

      A minimal reproducer:

      QQuickItem item;
      qDebug() << item.isVisible();
      item.setVisible(false);
      qDebug() << item.isVisible();
      item.setVisible(true);
      qDebug() << item.isVisible();

      In 6.4.x, output is:
      true
      false
      true
      The default value is true, and can be switched back and forth.

      In 6.5.0, output is:
      true
      false
      false
      The value cannot be switched back to true.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vhilshei Volker Hilsheimer
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes