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 117884 - Find dialog does not remember the last choice if I am not looking for a string
Summary: Find dialog does not remember the last choice if I am not looking for a string
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marian Petras
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-05 09:44 UTC by Petr Jiricka
Modified: 2007-10-22 10:21 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 Petr Jiricka 2007-10-05 09:44:10 UTC
When using the Find... dialog to look for a file name without looking for a particular text in the file, the dialog does
not remember the last choice:

1. Open the find dialog
2. Put something in the "Containing Text" and "File Name Pattern" fields and search
3. Open the dialog again
4. Remove the text from the "Containing Text" field ans search
5. Open the dialog again

=> The "Containing Text" field contains the non-empty value from the first search, should be empty.
Comment 1 Petr Jiricka 2007-10-05 09:44:58 UTC
NB 6.0, build from Oct 4, Mac OS X, JDK 5.
Comment 2 Marian Petras 2007-10-20 09:25:40 UTC
Confirmed (build 071018).
Comment 3 Marian Petras 2007-10-22 10:21:00 UTC
Fixed in the trunk.

Modified files:
    utilities/src/org/netbeans/modules/search/:
                                         BasicSearchForm.java   (1.11)
                                         FindDialogMemory.java   (1.8)

Diffs:
http://deadlock.netbeans.org/fisheye/browse/netbeans/utilities/src/org/netbeans/modules/search/BasicSearchForm.java?r1=1.10&r2=1.11
http://deadlock.netbeans.org/fisheye/browse/netbeans/utilities/src/org/netbeans/modules/search/FindDialogMemory.java?r1=1.7&r2=1.8