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 38037 - Description area of property sheet doesn't show customized info
Summary: Description area of property sheet doesn't show customized info
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords: T9Y
Depends on:
Blocks:
 
Reported: 2003-12-12 07:42 UTC by Jiri Skrivanek
Modified: 2008-12-22 23:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Correct description - build 200311251900 (76.75 KB, image/gif)
2003-12-12 09:53 UTC, Jiri Skrivanek
Details
Wrong description - build 200312111900 (78.22 KB, image/gif)
2003-12-12 09:54 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2003-12-12 07:42:52 UTC
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.
Comment 1 _ tboudreau 2003-12-12 09:39:59 UTC
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.
Comment 2 Jiri Skrivanek 2003-12-12 09:52:52 UTC
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.
Comment 3 Jiri Skrivanek 2003-12-12 09:53:31 UTC
Created attachment 12542 [details]
Correct description - build 200311251900
Comment 4 Jiri Skrivanek 2003-12-12 09:54:21 UTC
Created attachment 12543 [details]
Wrong description - build 200312111900
Comment 5 _ tboudreau 2003-12-12 10:59:02 UTC
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.
Comment 6 Jiri Skrivanek 2003-12-12 12:34:44 UTC
It is not only in Options dialog. It is in all property sheets.
Comment 7 _ tboudreau 2003-12-13 23:23:23 UTC
Fixed in trunk.
Comment 8 Jiri Skrivanek 2003-12-15 07:02:06 UTC
Verified in build 200312141900.