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 30152 - Find results list not updated on node removal
Summary: Find results list not updated on node removal
Status: RESOLVED INVALID
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@utilities
URL:
Keywords: UI
Depends on:
Blocks: 33418
  Show dependency tree
 
Reported: 2003-01-15 21:30 UTC by bht
Modified: 2009-01-15 10:01 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bht 2003-01-15 21:30:06 UTC
If you cut a Java node out of a search result and
paste it into a different folder then the node
does not get removed from the search results.
I tested this with a simple file name filter
search argument.

How to reproduce:
- Go to explorer ald locate on a directory with
files in it
- [Ctrl+F] opens the find dialog
- Click on the object name tab and enter a name
- Click "Search"
- In the results list, select a node and cut it
[Ctrl-X]
- Swicth to the explorer window
- Select a different directory and paste

Expected behavior: Node is removed from search
results list

Seen behavior: Node is still there; it only
disappears if the find is repeated.

This is not a show stopper but if this issue is
fixed then the find tool would make it much easier
to work on lists of "to-do items" in many tedious
manual processes.

Currently, the find dialog does much smarter
things such as re-scanning modified files for
text, so I thought I should definitely file this
as an issue.
Comment 1 pzajac 2003-01-16 08:54:42 UTC
reassigned to utilities 
Comment 2 Tomas Pavek 2003-03-13 16:16:59 UTC
Theoretically, the node should be removed only if you move it out of
the searched directory tree. But cut/paste should be rather disabled
on nodes in search results I think. It does not make sense here
because it does something different - it operates on the original
object - cuts the object from its original place, i.e. in the searched
folder, not just from the results list. There should be rather some
additional action like "Remove from result list". So I would keep this
issue as enhancement for that.

BTW the results should be rather a static list with no dynamic updates
(rescanning updated files). See more in issue 30613.
Comment 3 Andrey Yamkovoy 2009-01-15 10:01:06 UTC
Cut/Copy/Paste actions are not allowed in the search results tree.