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 251644

Summary: Improve feedback if "Select in projects" is invoked on search result which doesn't belong to a project
Product: projects Reporter: kalle1
Component: Generic Projects UIAssignee: Tomas Stupka <tstupka>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: messages.log

Description kalle1 2015-04-04 13:06:42 UTC
Created attachment 153035 [details]
messages.log

After opening a search result it should be possible to select that file with the "Select in project" function of the editor (after opening the search result there).
Comment 1 kalle1 2015-04-04 13:29:09 UTC
This only happens if the file which is found doesn't belong to a project, so there's nothing to do except improve the user feedback.
Comment 2 Jaroslav Havlin 2015-08-13 15:03:15 UTC
Action org.netbeans.modules.project.ui.actions.SelectNodeAction (.inProjects() variant) asks whether project should be opened if it exists and is closed, but if the file doesn't belong to any project, the Projects view is just selected and user is not notified about incomplete operation.

Maybe just status bar message saying that "no project for the file exists" would be sufficient.

Reassigning to projects/Generic Projects UI.
Thank you.
Comment 3 Tomas Stupka 2015-09-01 15:48:24 UTC
> Maybe just status bar message saying that "no project for the file exists" would be sufficient.
there already is a message in the status bar