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.
[ 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.
Created attachment 116973 [details] The Warning-Message at my sample-project.
http://hg.netbeans.org/core-main/rev/01fae39b9259 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.
Integrated into 'main-golden', will be available in build *201203240400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/01fae39b9259 User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #209824 - Do not show names of unsaved files in warning