Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4522601

FlowView should not setParent(null) on views to be re-layed out.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.0
    • client-libs
    • None

      FlowView keeps a layout pool of views that it is responsible for flowing into rows. When its current FlowStrategy lays out, it first calls removeAll() on the FlowView to remove any previous rows. Unfortunately, this removeAll() causes a setParent(null) on the rows which then trickles down to all of the views in the layout pool. This is undesirable since these views are going to be re-used and the setParent(null) can leave them in an inconsistent state (ie. without a parent).

            shickeysunw Shannon Hickey (Inactive)
            shickeysunw Shannon Hickey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: