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 174122 - Changes in fxz file are not picked up by netbeans
Summary: Changes in fxz file are not picked up by netbeans
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Andrew Korostelev
URL: http://javafx-jira.kenai.com/browse/R...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-08 16:24 UTC by Lukas Hasik
Modified: 2009-11-20 13:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2009-10-08 16:24:35 UTC
If you update a fxz file which is part of netbeans project with the open view of that file, changes are not picked up by
netbeans and you have to close the file and reopen to be able to see the changes

------------------------------------
 Jun, 1 2009 02:05 PM
for me only the following scenario is reproducible:
- open fxz in editor
- switch to source view
- comment lines (e.g Polygon)
- switch to preview
commented polygon is still visible.
If you close and open this file now, polygon will disappear.

Is that what you mean?

other scenarios I have tried work correctly:
- delete Polygon lines from source -> polygon is not visible
- uncomment polygon that was commented when file was opened-> polygon appears
- make any of mentioned updates from outside of netbeans -> preview is refreshed correctly

------------------------------------
 Jun, 1 2009 02:05 PM for me only the following scenario is reproducible: - open fxz in editor - switch to source view -
comment lines (e.g Polygon) - switch to preview commented polygon is still visible. If you close and open this file now,
polygon will disappear. Is that what you mean? other scenarios I have tried work correctly: - delete Polygon lines from
source -> polygon is not visible - uncomment polygon that was commented when file was opened-> polygon appears - make
any of mentioned updates from outside of netbeans -> preview is refreshed correctly


------------------------------------
 Jun, 1 2009 03:09 PM
What I meant is that if you have a open fxz file part of a project and you export new one from AI or PS overwritting the
old one, changes are not picked up and you must close the file in the editor and open again to see the changes

------------------------------------
 Jun, 1 2009 03:09 PM What I meant is that if you have a open fxz file part of a project and you export new one from AI
or PS overwritting the old one, changes are not picked up and you must close the file in the editor and open again to
see the changes


------------------------------------
 Jun, 2 2009 01:02 PM
Issue is not reproducible for me in
- NetBeans FX plugin, build from June 01, 2009.
- suite build from Jun 1, 2009: http://getjfx.sfbay.sun.com/hudson/view/My%20Projects/job/jfxPS/322/
- Adobe Photoshop CS4 Extended version 11.0

my steps are:
- open PSD file in PS
- export it to fxz using 'File | Automate | Save for JavaFX' action to NetBeans project source directory (project is
opened in NB).
- open exported fxz file in NB editor
- switch to source view. Update (remove some graphics). Save changes. Switch to preview.
- in PS export PSD to the same fxz file again
- switch to NB.

fxz is reloaded automatically.
If updated fxz wasn't saved, dialog with notification that file is updated externally, appears.

Should I resolve issue as 'can not reproduce' or I have missed some steps necessary to reproduce an issue?

------------------------------------
 Jun, 2 2009 01:02 PM Issue is not reproducible for me in - NetBeans FX plugin, build from June 01, 2009. - suite build
from Jun 1, 2009: http://getjfx.sfbay.sun.com/hudson/view/My%20Projects/job/jfxPS/322/- Adobe Photoshop CS4 Extended
version 11.0 my steps are: - open PSD file in PS - export it to fxz using 'File | Automate | Save for JavaFX' action to
NetBeans project source directory (project is opened in NB). - open exported fxz file in NB editor - switch to source
view. Update (remove some graphics). Save changes. Switch to preview. - in PS export PSD to the same fxz file again -
switch to NB. fxz is reloaded automatically. If updated fxz wasn't saved, dialog with notification that file is updated
externally, appears. Should I resolve issue as 'can not reproduce' or I have missed some steps necessary to reproduce an
issue?


------------------------------------
 Jun, 2 2009 09:45 PM
Andrey, just follow what I wrote, I didn't mentoned any editing of fxz file inside of NB.
Issue is assigned to Pavel so leave it to him, please. I guess it will be easier to descriibe it to him directly as he
is sitting next to me :-)
Comment 1 Andrew Korostelev 2009-10-19 12:01:48 UTC
Described problem was cased by problem with model updating after node is removed from array attribute.
there also were some problems with adding new nodes with attributes.

Described and some related problems (found during fix testing ) were fixed.

please look at the whole model updating on fxd change feature.
There can be more problems.
Comment 2 Andrew Korostelev 2009-10-26 17:31:25 UTC
fix was also migrated to soma branoch
Comment 3 Lukas Hasik 2009-11-20 13:54:15 UTC
verified with 200911200201