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 76646 - Find selects wrong line
Summary: Find selects wrong line
Status: RESOLVED DUPLICATE of bug 76619
Alias: None
Product: editor
Classification: Unclassified
Component: Search (show other bugs)
Version: 5.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: Martin Roskanin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-21 15:52 UTC by mcamou
Modified: 2007-11-05 13:42 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 mcamou 2006-05-21 15:52:21 UTC
If you double click on an element in a Find window (Find Usages, Find in
projects, etc...) and the result is not in the currently-focused file, many
times the cursor ends up at the wrong line. You have to click on the element
again to go to the right line
Comment 1 mcamou 2006-05-21 17:32:05 UTC
This actually happens any time NB opens a file that isn't open and needs to go
to a particular line number. For example, when hitting a breakpoint in the debugger.
Comment 2 Jaromir Uhrik 2006-05-22 09:32:00 UTC
It works fine on my Mac OS X 10.4.6 PPC, JDK 1.5.0_06, NB 5.5 Beta. Could you
please add more information about your machine configuration and provide
reproducible scenario.
Thanks in advance.
Comment 3 mcamou 2006-06-02 18:43:55 UTC
I am running on the same platform (Mac OS X 10.4.6 PPC, JDK 1.5.0_06, NB 5.5 Beta). Actually now that 
I've looked at it more closely,  the cursor seems to be ending up in the correct place but the target line is 
not visible (scrolled off the screen).

One time where I've seen this is when the debugger has to switch windows and move the cursor on the 
target window, the scrollbar ends up at the wrong place. I have to manually scroll to the line where 
execution is stopped. Same thing when doing a find, I double-click on the find result and NB changes to 
the target file but the scrollbar is in the wrong place. I have to double-click again on the result to get  the 
cursor where it should be.
Comment 4 Jiri Prox 2006-06-05 09:15:32 UTC
Then, it's duplicate of issue 76619.
Thanks for your report.

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