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 70708 - Navigator shouldn't update when selecting a file
Summary: Navigator shouldn't update when selecting a file
Status: RESOLVED DUPLICATE of bug 167708
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-21 18:10 UTC by brenthale
Modified: 2009-10-22 15:00 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 brenthale 2005-12-21 18:10:04 UTC
Hi,

For some reason my NetBeans has been running extremely slow.  And so I notice
small wastes of time.  The one that I noticed today deals with the refreshing of
the Navigator.

I was going to check files in using the VCS Groups tab and selected the top file
and was going to select the bottom file as well, but the IDE froze for a
considerable amount of time before I could select the other files.  The
Navigator window was showing that it was refreshing its view.  Once it finally
finished I could select other files.  

I don't think NetBeans should be updating the navigator as a result of selecting
it in the VCS Groups (or Project or Files) tab.  It seems to me that it should
only refresh when the file is the current file in the editor.  

A side note...even when selecting a different file tab in the editor, the
refresh of the Navigator seems to take forever (4 - 5 seconds on my beefy
machine) preventing me from immediately being able to edit or move around. 
Can't the Navigator be thrown into a separate thread or something so that it
doesn't hang when its updating?

A side issue for the Navigator.  How about showing the method that the editor is
in at the top of the window.  Hi-lighing the method was a big recent improvement
but is a pale gray color and is always in a different place in the window which
makes it harder to find.  I find myself missing the combo box at the top of the
editor window as in versions past.  Mostly because I knew right where to look
and it wasn't causing me these slow-down problems.
Comment 1 twolf2919 2009-04-07 21:12:46 UTC
I agree that the navigator should only update when a new file is selected in the editor.  Unfortunately, the navigator
doesn't do that either: on 6.51 (and later dailies), the navigator doesn't update until you actually click somewhere in
the file (you continue to "see" methods that belong to whatever the previously active file was)!  This seems to be a
recent change - and it's neither intuitive nor correct.
Comment 2 Marian Mirilovic 2009-10-22 15:00:10 UTC

*** This issue has been marked as a duplicate of 167708 ***