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.
When you select an object description area of property sheet should show customized info about this object. Insted it shows only "Properties" - "Properties of this object". It is used in automated test for verification that the right one property sheet was shown (e.g. in Options). Maybe it is also related to issue 36697. Tested in build 200312111900, JDK1.4.2_02, WindowsXP.
1. AFAIK this works fine - if you change the selected node, the selection text will be updated - *asynchronously*. If you're looking for the description text in some automated way, note that the change is not instant - it is optimized so it does not slow down, e.g., the user holding the down arrow key. So if you select something and immediately check the property sheet for its description or properties, it will be wrong. The change in selected node will be queued on another thread, and really changing it will be rescheduled back to the AWT queue once node changes have "settled down". 2. The description area was *not* designed to be used by automated tests to determine if the correct object was selected. It may even be removed from the property sheet and become its own top level component in the future. I will not support this abuse of it. If you want to find out if the selected object is the right one, do it some other way.
OK, but it doesn't work at all (i.e. even manually). See screen shots. I am sure you will see the same in your build.
Created attachment 12542 [details] Correct description - build 200311251900
Created attachment 12543 [details] Wrong description - build 200312111900
Hmm, interesting. It works correctly for items that have no properties, but does not work for items that do. Possibly related to the change that the Options dialog no longer affects the global node selection? I'll look into it.
It is not only in Options dialog. It is in all property sheets.
Fixed in trunk.
Verified in build 200312141900.