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 29257

Summary: Property sheet value not taken when user tabs focus out
Product: platform Reporter: Ann Sunhachawee <asunhachawee>
Component: ExplorerAssignee: _ tboudreau <tboudreau>
Status: CLOSED WORKSFORME    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 29447    
Bug Blocks:    

Description Ann Sunhachawee 2002-12-03 22:11:21 UTC
S1S4u1.
Behavior on Win2k and Solaris:
In the property sheet, select any of the
properties that has a string text field (e.g. Name
property of a java field). Select the value and
change it, for instance, to "X" from "Y". If user
shift-tab or uses mouse to move focus to another
node, then the value changes to X. 

Behavior on Win2K only:
However, if you push tab after changing it, then
the value resets to "Y". On solaris, the value "X"
is taken when user pushes tab. All platforms
should behave the same, and windows platform
should behave like solaris.
Comment 1 _ tboudreau 2003-03-06 14:56:48 UTC
On Solaris, enter a string property with value X.
Change it to Y.  
Press tab or shift tab.
Value is now Y.

On Windows, enter a string property with value X.
Change it to Y.  
Press tab or shift tab.
Value is now Y.

It's possible that you are referring to secondary propertysheet
values not being immediately updated.  There is a common bug in
a number of modules where a settings node for say, "SomeProperty"
fires a property change for the value of "some_property".  
For performance, PropertySheet was made more efficient - it 
doesn't rebuild itself from scratch unless it knows it's really
displaying the property that changed.  Unfortunately, that 
exposed this bug in many module.
Comment 2 Marian Mirilovic 2003-07-18 14:44:20 UTC
verified, closed