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

Selection after close is inconsistent: did you forget to clear the selection before reparenting?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7u40
    • 7u40
    • javafx
    • None

      When assertions are enabled you can read the following:

      Selection after close is inconsistent: did you forget to clear the selection before reparenting?

      Selected element is not consistent: ComponentIndexedReference: AnchorPane[id=null]-> child #-1-> TableView[id=null, styleClass=table-view]
       scope path: /AnchorPane[id=AnchorPane]/children(@item=[SplitPane[id=null, styleClass=split-pane]])/items(@item=[AnchorPane[id=null]])/

      by doing this scenario:

      1. Start a layout from scratch
      2. Drop a SplitPane (dropping in Hierarchy or on Content doesn't matter)
      3. Drop a TableView in one of the two AnchorPane of the SplitPane
      4. In Hierarchy move the TableView under top component (then out of SplitPane)

      Said Daniel it is something we'd better fix: whithin Hierarchy panel's code the selection context isn't cleared as it should.

            slions Sandra Lions-piron
            yjoan Yves Joan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: