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

Remaining problem of DTL-6609.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 8
    • 8
    • javafx
    • None

      SB 2.0 nightly build #435 with fix of DTL-6609.
      There is a remaining problem that when dnd a component into a new column of a GridPane that has ever been emptied, IndexOutOfBoundsException is reported and SB crashes.
      snapshot video is attached.

      Steps to reproduce:
      1. Add a GridPane(2x3).
      2. Delete the columns of GridPane one by one, until the last column is deleted.
      3. Add a Button to the GridPane on Hierarchy Panel. Now the GridPane is (1x3).
      4. Drag a Button to the Content Panel, place it on the right-most side of the GridPane, then there is a vertical gray bar appeared to indicate it's able to add the Button into a new column. (Please refer to the image drop-into-new-column.png.) And release mouse.

      SceneBuilder crashes.

      Step 4 works fine for the original GridPane.

        1. drop-into-new-column.png
          drop-into-new-column.png
          212 kB
        2. empty-gridpane-new-column.avi
          854 kB
        3. errorlog.txt
          6 kB
        4. hs_err_pid8096.log
          25 kB

            eleponn Eric Le Ponner
            jennyh Jenny Huang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: