Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 207214

Summary: [Commands] Changing a file does not enable Build Project
Product: [Eclipse Project] Platform Reporter: George Comninos <george>
Component: IDEAssignee: Paul Webster <pwebster>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: Kevin_McGuire, pwebster, Tod_Creasey
Version: 3.3.1Keywords: helpwanted
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description George Comninos CLA 2007-10-23 15:08:27 EDT
Build ID: I20070625-1500

Steps To Reproduce:
1. Turn off Build Automatically
2. double click on a warning in the problems view for a project (any type of project is fine)
3. File opens, check the Project menu, Build Project is disabled.


More information:
The problem is that the selection for the opened active file is not passed to selectionChanged(), it gets an empty selection.
Comment 1 Kevin McGuire CLA 2007-10-29 15:23:51 EDT
Able to reproduce problem in 3.4 M2
Comment 2 Tod Creasey CLA 2008-01-17 15:04:58 EST
This is nothing to do with the problems view (also happens when you just open a file).
Comment 3 John Arthorne CLA 2009-04-28 16:13:53 EDT
This problem doesn't occur in 3.5 M7.