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 118011 - Changes to position=... not reflected in folder order in XML layer tree view
Summary: Changes to position=... not reflected in folder order in XML layer tree view
Status: RESOLVED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: rmichalsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-06 19:33 UTC by ngx472
Modified: 2008-11-24 14:23 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 ngx472 2007-10-06 19:33:05 UTC
- modify position attribute in XML layer
- press reload document on the XML Layer Node
- reordering of nodes in view <this layer in context> is not showing
- have to close module project and reopen to have xml layer reparsed and ordering showing correctly
Comment 1 Jesse Glick 2007-10-10 02:05:08 UTC
I have no idea what "Reload Document" does, but it's not added by the module development support and it certainly
doesn't do anything related to the structure view of layers.
Comment 2 ngx472 2007-10-10 17:38:19 UTC
Hi

Maybe I was not clear about the issue (which is not a big one anyway). The 2 'magic' nodes under the XML Layer, which
are labelled <this layer> and <this layer in context> have the good property of displaying for instance the menu items
in the order specified by the ordering attributes in the XML layer. Reordering menu items by drag and drop of nodes will
impact the XML laer file to reflect the new relative orderings. 
However, when you touch the XML file directly by hand, there does not seem to be a way of this being reflected in the
nodes other than by closing and reopening the module project. i.e. the nodes are not listening for the layer file writes.
One could think that the XML node contextual menu item "Reload Document" would trigger a redisplay of the 2 'magic'
nodes content...

Thks
Comment 3 Jesse Glick 2007-10-10 17:49:23 UTC
It is supposed to refresh the display automatically upon saving the XML file, but apparently that is not working for
this case.
Comment 4 Jesse Glick 2007-10-18 23:20:42 UTC
Reproducible. Other changes (e.g. changes in filename) are reflected automatically upon save. Seems that something is
not correctly listening to, or refiring, file attribute changes.
Comment 5 rmichalsky 2008-11-24 14:23:28 UTC
<This layer in context> will get changed as result of issue #150804.