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 131125 - Show reasonable message in Inspector when no form is active
Summary: Show reasonable message in Inspector when no form is active
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on: 129261
Blocks:
  Show dependency tree
 
Reported: 2008-03-26 03:50 UTC by _ gsporar
Modified: 2008-09-26 13:44 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
example Navigator screen snapshot (5.61 KB, image/png)
2008-03-26 03:53 UTC, _ gsporar
Details
sample snapshot of the Inspector window (3.52 KB, image/png)
2008-03-26 03:55 UTC, _ gsporar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ gsporar 2008-03-26 03:50:39 UTC
While using this tutorial: http://www.netbeans.org/kb/60/web/inserts-updates-deletes.html to teach VWP to a class of
about  40 we saw several instances where the Navigator and Inspector windows got corrupted.  This was on Windows XP with
JDK 6 update 10 running NetBeans 6.0.1.

I can also fairly reliably reproduce the problem with NetBeans 6.0 on Windows Vista, using JDK 6 update 4.  I am not,
however, exactly certain of the sequence of mouse clicks that are required to get the problem to occur.  

But at some point while in Design mode on Page1, the Navigator and Inspector both display odd contents that looks incorrect.

I will attach two example screen snapshots.

Let me know if you want me to attach a .zip of the project.
Comment 1 _ gsporar 2008-03-26 03:53:24 UTC
Created attachment 59098 [details]
example Navigator screen snapshot
Comment 2 _ gsporar 2008-03-26 03:55:06 UTC
Created attachment 59099 [details]
sample snapshot of the Inspector window
Comment 3 Peter Zavadsky 2008-03-26 18:14:08 UTC
I don't know what the inspector should display (please reassign to that component after the navigator is solved). But
the navigator should show outline (not the JSP tree), when the design tab is active.
Comment 4 David Simonek 2008-03-27 15:45:15 UTC
Navigator part is duplicate of 129261, I'm creating dependency and passing to GUI builder.
Comment 5 Jan Stola 2008-03-27 18:40:29 UTC
The empty content of Inspector is not necessarily incorrect - it happens, for example, when you open Inspector window 
manually (via Window>Navigating>Inspector) e.g. if there is nothing to show there. It is important to have exact steps 
to reproduce to be able to do some evaluation.
Comment 6 _ gsporar 2008-03-27 21:08:17 UTC
>The empty content of Inspector is not necessarily incorrect - it happens, for example, when you open Inspector window 
manually (via Window>Navigating>Inspector) e.g. if there is nothing to show there.

That's a reasonable response.  But is the Inspector really supposed to have just a folder displayed with nothing next to
it?  (As shown in the attached screen snapshot.)  Shouldn't it just be completely empty?
Comment 7 Jan Stola 2008-03-28 15:35:27 UTC
> But is the Inspector really supposed to have just a folder displayed with nothing next to
> it?  (As shown in the attached screen snapshot.)  Shouldn't it just be completely empty?

I agree that it would be nicer to show some human-readable message like 'No active form' or 'No form selected'. Hence, 
changing this issue to enahancement.