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 40256 - after Find in Files, search window temporarliy can forget contents
Summary: after Find in Files, search window temporarliy can forget contents
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@utilities
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2004-02-19 03:17 UTC by _ jrichard
Modified: 2004-08-13 12:12 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 _ jrichard 2004-02-19 03:17:28 UTC
If click on a node in the search results window
while a search is still running the line numbers
are displayed.  But at the end of that search the
line numbers are removed and the "position within
file" pane is blank.

Obviously one needs to search a large tree to see
this happen.
Comment 1 Marian Petras 2004-03-08 16:37:53 UTC
I tried to reproduce it and found that the line numbers may get lost
even while before the search is finished. It does not happen
immediately (immediately another matching file is found) but only
after several files are added to the list of found files.

The cause is probably that the left panel of the Search Results window
loses information about selected node.
Comment 2 Marian Petras 2004-08-04 10:28:21 UTC
Fixed in the trunk.

The Search Results window is no longer split into to parts since 11
May 2004. Since then, list of occurences within a file is displayed as
subnodes of the node representing the file. When these subnodes are
displayed, they do not hide as searching continues.

The new behaviour was introduced by CVS revision 1.17 of file
utilities/src/org/netbeans/modules/search/ResultView.java.