Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365043 - [Compatibility] 'Build Project' always disabled when editor is active
Summary: [Compatibility] 'Build Project' always disabled when editor is active
Status: CLOSED DUPLICATE of bug 373529
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.1   Edit
Hardware: All All
: P3 major with 1 vote (vote)
Target Milestone: 4.2 M7   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 373417 377869 (view as bug list)
Depends on:
Blocks: 331444
  Show dependency tree
 
Reported: 2011-11-29 06:47 EST by Dani Megert CLA
Modified: 2012-04-27 09:59 EDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***