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

Bug 365043

Summary: [Compatibility] 'Build Project' always disabled when editor is active
Product: [Eclipse Project] Platform Reporter: Dani Megert <daniel_megert>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: 0RUBn0, malaperle, marc.khouzam, Mike_Wilson, nathan.huesken, pwebster, remy.suen
Version: 4.1   
Target Milestone: 4.2 M7   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 331444    

Description Dani Megert CLA 2011-11-29 06:47:36 EST
4.1.1.

'Build Project' always disabled when editor is active (and auto-build off).
Comment 1 Dani Megert CLA 2011-11-29 06:47:50 EST
Works in 3.x.
Comment 2 Remy Suen CLA 2011-11-29 08:55:08 EST
BuildAction's isEnabled() method is not invoked when the active part is an editor. It also seems like the handler service cannot find a handler for the org.eclipse.ui.project.buildProject command and returns 'false' as a result.
Comment 3 Remy Suen CLA 2012-03-07 10:32:21 EST
*** Bug 373417 has been marked as a duplicate of this bug. ***
Comment 4 Remy Suen CLA 2012-03-07 10:32:50 EST
Unfortunately, making the backing model an opaque item didn't seem to help.
Comment 5 Missing name CLA 2012-04-04 05:54:24 EDT
For the record: bug still exists in Version: 4.2.0 / Build id: I20120315-1300
Comment 6 Mike Wilson CLA 2012-04-17 14:54:00 EDT
needs retest.
Comment 7 Marc Khouzam CLA 2012-04-17 15:20:46 EDT
Still happening with I20120411
Comment 8 Dani Megert CLA 2012-04-18 03:10:00 EDT
(In reply to comment #6)
> needs retest.

Still broken in 4.2-I20120417-1000.
Comment 9 Oleg Besedin CLA 2012-04-24 11:16:20 EDT

*** This bug has been marked as a duplicate of bug 373529 ***
Comment 10 Marc Khouzam CLA 2012-04-25 16:19:08 EDT
I ran a very simple test that used to fail and it now works as expected using:
I20120425-1200

Thanks!
Comment 11 Dani Megert CLA 2012-04-26 08:40:05 EDT
Verified in  I20120425-1200.
Comment 12 Andrew Gvozdev CLA 2012-04-27 09:59:32 EDT
*** Bug 377869 has been marked as a duplicate of this bug. ***