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 31473 - Properties of something doesn't work
Summary: Properties of something doesn't work
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-26 08:56 UTC by Marian Mirilovic
Modified: 2008-12-22 15:50 UTC (History)
1 user (show)

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 Marian Mirilovic 2003-02-26 08:56:12 UTC
[s1s5_se](030225_1), [jdk1.4.2](b16)

Steps to reproduce:
- run IDE
- select node and push from popup "Properties"
-> properties window is opened, but "No
Properties" is shown !!!
Comment 1 Jiri Skrivanek 2003-02-26 09:13:58 UTC
It started to happen from continuous build 20030225-1801. Cvs log says:
2003-02-25 17:02  tboudreau

	*
	openide/src/org/openide/explorer/propertysheet/PropertySheetTab.jav
	a:
	 Removed debug code accidentally put into PropertySheetTab.

Comment 2 Jiri Skrivanek 2003-02-26 09:28:43 UTC
Actually, build 20030225-1519 was OK, so no only removing debugging
code caused this bug.

2003-02-25 16:18  tboudreau

	* openide/src/org/openide/explorer/propertysheet/:
	PropertySheet.java, PropertySheetTab.java:
	 Eliminating unnecessary use of WeakListener...
Comment 3 _ tboudreau 2003-02-26 09:53:21 UTC
I'll roll back the changes from yesterday until I can figure out
what happened.  I made a change so that the property sheet doesn't
add the "emptyPanel" in its constructor (usually the property
sheet will display the properties of something, so adding it just
wastes resources and forces an extra paint).  Looks like it's getting
added too agressively, but this is strange - it worked fine when
I tested it before committing.
Comment 4 David Strupl 2003-02-26 10:14:58 UTC
I suggest to double check your addNotify/removeNotify methods with
regards to setNodes. The behaviour looks like some code calling
setNodes before addNotify. Just a quess though.
Comment 5 _ tboudreau 2003-02-26 11:01:51 UTC
David is correct, the problem was in addNotify.  

Fixed in PropertySheet 1.107 (a rollback would have invalidated
fix for 31413).
Comment 6 _ tboudreau 2003-02-26 12:32:08 UTC
Fix committed to today's qbuild branch, QBE20030226010
Comment 7 Jiri Skrivanek 2003-02-26 13:25:58 UTC
Fixed doesn't solve Customize bean dialog. Try to call Customize Bean
on ColorPicker node for example. There is again empty property sheet.
Comment 8 _ tboudreau 2003-02-26 14:32:38 UTC
Fixed in trunk and qbuild branch.
Comment 9 Marian Mirilovic 2003-02-27 10:44:10 UTC
verified in [nb_dev](20030227)