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 113570 - When IDE opened and Form Editor is opened the top form node is not selected/breaks inspector
Summary: When IDE opened and Form Editor is opened the top form node is not selected/b...
Status: RESOLVED FIXED
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:
Blocks:
 
Reported: 2007-08-23 06:10 UTC by _ wadechandler
Modified: 2007-09-03 18:20 UTC (History)
0 users

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 _ wadechandler 2007-08-23 06:10:49 UTC
When the IDE is opened and the Form Editor is opened the top form node is not selected/breaks inspector. This is when
the form editor was being used when the IDE was shutdown and a form was already opened, so it was reopened on IDE
startup, and the form editor is the first thing shown in the editor mode or is the showing tab in the editor. It seems
like when the form is opened we need to make sure the focus is given to the parent RADNodes component.
Comment 1 _ wadechandler 2007-08-23 06:12:50 UTC
Oh yeah, the reason I'm filing it is because the Inspector is showing a folder icon instead of the hierarchy for the
opened file as nothing is selected.
Comment 2 Tomas Pavek 2007-09-03 18:20:49 UTC
Seems this happens when the form was not selected at the moment the IDE was closing - then after restart the form is not
activated. I've made a fix that makes sure the opened form is selected in inspector even if not active.

/cvs/form/src/org/netbeans/modules/form/FormDesigner.java
new revision: 1.217; previous revision: 1.216