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 209824 - "Find in Projects"-Warning: Unsaved changes in File Foo.jav
Summary: "Find in Projects"-Warning: Unsaved changes in File Foo.jav
Status: NEW
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jaroslav Havlin
Depends on:
Reported: 2012-03-21 08:03 UTC by stefan79
Modified: 2012-03-24 11:06 UTC (History)
0 users

See Also:
Exception Reporter:

The Warning-Message at my sample-project. (19.09 KB, image/png)
2012-03-21 08:04 UTC, stefan79

Note You need to log in before you can comment on or make changes to this bug.
Description stefan79 2012-03-21 08:03:37 UTC
[ BUILD # : 201203200400 ]
[ JDK VERSION : 1.7.3 ]

The warning "Unsaved changes in xxx files" makes no sense, when this files are
not in the scope.

To reproduce:
-) Make a project with two folders "A" and "B".
-) Make a new Class at folder "A", edit this file but don´t save the file
-) Select folder "B", press Ctrl-F and at Scope selected "Selected (B)".
-> Now you get a warning that there are unsaved files.
Comment 1 stefan79 2012-03-21 08:04:02 UTC
Created attachment 116973 [details]
The Warning-Message at my sample-project.
Comment 2 Jaroslav Havlin 2012-03-22 15:10:05 UTC

It is currently not possible (or at least not easy) to match unsaved objects in Savable.REGISTRY with FileObject instances in the search scope.

Changing the warning message to a more abstract one.
Marking as enhancement again.
Comment 3 Quality Engineering 2012-03-24 11:06:09 UTC
Integrated into 'main-golden', will be available in build *201203240400* on (upload may still be in progress)
User: Jaroslav Havlin <>
Log: #209824 - Do not show names of unsaved files in warning