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

CLONE - Made visible part of delegate while window is not visible breaks items layout

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.1.0
    • 5.0.1
    • None
    • Qt 5.0.1, QtQuick 2.0, Windows 7, msvc2010

    Description

      I have some strange behavior of QtQuick 2.0.
      I have a Repeater placed into Row. Delegate has small rectangle inside, that has visibility binded to one property of the main component (by default item is invisible) (http://joxi.ru/uploads/prod/20130325/305/a71/d4c2aede74c9863e4d94ac7930176f55d0f1dfd1.png). Then I made main window invisible, change property that delegate visibility has bound to true, and then made main window visible. In result I got all items muddled together (http://joxi.ru/uploads/prod/20130325/31e/e95/f429216a502a2ad1fc49836f61073629ece9e269.png). qml file in the attachment (RepeaterInvisible_1.qml).

      I have found two cases, where items placed correctly.
      1. Made that item visible from the beginning: comment line "visible: showMark". In result, all items placed correctly (http://joxi.ru/uploads/prod/20130325/7b0/881/54a514275c910a75834f0cd825917980d43feebf.png).
      2. Wrap delegate into additional Rectangle (RepeaterInvisible_2.qml).

      Attachments

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

        Activity

          People

            aalpert Alan Alpert
            krnekit Nikita Krupenko
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes