This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 241853

Summary: [80cat] Navigator still shows old values for fxml file after it has been updated in Scene Builder
Product: javafx Reporter: Lou Dasaro <mr_lou_d>
Component: EditorAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 8   
Issue Type: DEFECT Exception Reporter:

Description Lou Dasaro 2014-02-14 05:02:25 UTC
The Navigator still shows old values for fxml file after it has been updated in Scene Builder.

Steps to reproduce:
Create a JavaFX FXML project. Open the FXML file in Scene Builder. Delete the Button control that says "Click Me". Invoke File->Save.
Return to NetBeans. In the Project View, click on the FXML node.

Result: The Navigator is shown for the FXML file, but the values are from the previous iteration of the FXML file, i.e. does not reflect the current state of the FXML file.

Double-click the Anchor pane in the Navigator. 
Result: The FXML file is retrieved into the editor, and the Navigator's nodes are updated to reflect the changed FXML file.

Tested using:
Product Version: NetBeans IDE Dev (Build 201402120001)
Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b69
Runtime: Java(TM) SE Runtime Environment 1.8.0-b129
System: Windows 8 version 6.2 running on x86; Cp1252; en_US (nb)
Comment 1 Jan Peska 2014-07-09 06:59:49 UTC
Navigator API does not take care of particular content of navigator panels. Reassigning to JavaFX for further evaluation
Comment 2 Roman Svitanic 2014-07-09 11:58:12 UTC
Reassigning to XML since FXML uses XML Navigator.
Same can be reproduced with plain XML - just edit XML in some text editor outside the NetBeans.
Comment 3 Svata Dedic 2015-09-29 09:49:07 UTC
I've tried to reproduce on a recent dev build, but plain XML behaves fine: if the file is not opened in the editor, but just selected in the Explorer (navigator shows the file's outline), the contents is updated after some delay (e.g. 2 sec). But the contents is not stalled forever, just does not update immediately with the disk change.

Reassigning back to javafx.