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 175489

Summary: [68cat] [navigator] Navigator context resets when moused over
Product: ruby Reporter: esmithbss <esmithbss>
Component: NavigationAssignee: issues@ruby <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE Log File

Description esmithbss 2009-10-27 06:45:17 UTC
[ BUILD # : 200910261401 ]
[ JDK VERSION : 1.6.* ]

When I use the projects pane within my Rails application to drill down to the code for a gem and load the gem, the
navigator pane properly sets it's context to the context of the file I have just loaded and which is current in the
editor.

When I then move the mouse into the navigator pane to click on a method (to jump to the method in my code), the
navigator pane's context resets to the context of the left most window in the Editor pane (if multiple files are open)
when the mouse enters the navigator pane.
Comment 1 esmithbss 2009-10-27 06:46:02 UTC
Created attachment 90118 [details]
IDE Log File
Comment 2 esmithbss 2009-10-27 06:48:34 UTC
This problem vanishes when I replace the left most file in the editor by moving the second file (immediately to the
right of the leftmost file window to the leftmost position.
Comment 3 esmithbss 2009-10-27 06:54:36 UTC
When I hide the IDE and restore the IDE, the navigator resets to the content of the window which was the originally
leftmost in the editor.  

When I move this window back to the leftmost position, the navigator tab resets properly to the window's content.

I don't know if this is tied to the type of file (a Library Module).

When I click on the gem file, the Navigator window does not reset it's internal structure, although it does reset the
navigator's title bar.

If I click into the class within the gem file, then the navigator context is reset.  <<== This may be default behavior
and if so is correct, although if I open a class file, the navigator should be smart enough to map the entire file,
multiple classes and all if needed.