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

Scene Builder 2.0 b11 fails with FXML that has a fx:include

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:
    • Environment:

      Windows 7 64-bit

      Description

      The document loads, but there is a "caution" icon overlaid on the node that is fx:included.

      Hovering shows an error message that is black on dark grey and hard to read... something about UNRESOLVED_LOCATION and the included filename.

      The file being included opens fine in SB 2.0, and the parent FXML opens file in SB 1.1.

      The file being included is in the same directory as the main FXML that I load into SB.
      The include line is:

      <fx:include fx:id="pluginsFilterPanel" source="pluginsFilterPanel.fxml" VBox.vgrow="ALWAYS" />

      It also shows the wrong icon for the included node (VBox icon instead of AnchorPane).
      The context menu does not appear no matter where in SB I right-click.
      All of the TitledPanes in Scene Builder's UI fail to expand/collapse (arrow rotates but nothing else happens).

      Basically this puts SB into a broken state.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yjoan Yves Joan (Inactive)
              Reporter:
              swpalmer Scott Palmer
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: