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 104440

Summary: Layout Inspector: doesn't refresh for newly added components
Product: obsolete Reporter: _ krystyna <krystyna>
Component: visualwebAssignee: Peter Zavadsky <pzavadsky>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ krystyna 2007-05-21 19:41:21 UTC
NB6 Trunk Build 070518
XP
JDK1.6.0_01

1. create a VWP project
2. drop a button and press ctrl-shift-a to bring 
up layout inspector - OK (for first component)
3. now drop another component, e.g. drop down and press ctrl-shift-a
to bring up inspector and see the "Selected Box -  Properties" 
>still see component properties 

Viewing the layout inspector can see that the newly added component
was not added to the tree.

Workaround is press designer refresh then click on another tab in 
project window (e.g. Runtime tab) from Layout inspector and 
back. This will refresh layout inspector. Sometimes this needs to 
be done twice, starting with ctrl-shift-a.

Sometimes when switching from drop down to button, the layout
inspector does show "input" in the tree, but the expected CSS
properties "Selected Box - Properties" are not loaded until 
clicking on the Runtime tab.
Comment 1 Peter Zavadsky 2007-05-22 08:21:48 UTC
The layout inspector doesn't have this capability at all, it always provides
snapshot of the state only. Changing this to RFE.