Bug 3332

Summary: Build Project button is inactive sometimes in eclipse for a clutter project.
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Alexandru Georgescu <alexandru.c.georgescu>
Component: eclipse-pluginAssignee: Jessica <jessica.zhang>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: Low CC: ioanax.grigoropol, yp.ep.watcher, yp.watcher
Version: 1.3   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
build project. none

Description Alexandru Georgescu 2012-10-24 12:34:17 UTC
Created attachment 899 [details]
build project.

Many times, after a clutter project is reconfigured in Eclipse the build option in the contextual menu for that project is inactive.
The user have to try several times to open the contexctual menu (right click on the project in Project Explorer) to see it active (see attachment).

STEPS TO REPRODUCE:
1. Have an Eclipse (Juno) set up with eclipse-plugin
2. Fill in Yocto ADT project settings
3. Create a new Clutter project
4. Reconfigure it: 
 Right click on the project name from Project Explorer and choose "Reconfigure Project".
5. Try to build it:
 Right click on the project name from Project Explorer and choose "Build Project".

EXPECTED RESULT:
5. "Build Project" button is active

ACTUAL RESULT:
5. "Build Project" is inactive. See attachment

OTHER COMMENTS
Trying several times to right click or close/open the project makes the Build button active.
Comment 1 Alexandru Georgescu 2012-11-22 16:02:47 UTC
I have retested with http://autobuilder.yoctoproject.org/pub/nightly/20121121-3/eclipse-plugin/ and it still happens.

Other thing I have observed is the following:
- if in Project Explorer, the focus is not on the project that have to be build (other is selcted) and I Right Click on it, the build button appear to be inactive
- if I focus on it (left click) then Right Click on the Project, than the Build button becomes active.

So I believe the main issue is that when using Right Click, the focus doesn't work.
Comment 2 Jessica 2013-04-13 23:08:00 UTC
We're removed clutter project from plug-in
Comment 3 Alexandru Georgescu 2013-04-17 13:43:04 UTC
Jessica, 

It reproduces on all the project types, not only clutter. The main cause is that the user must first LEFT CLICK on the project to get focus, then right click in order to have the Build Project activated. If the user does not left click, the "Build button is not activated".

I think this is a valid one. I am not sure if it's from upstream or not.

Thanks,
Alex.
Comment 4 Jessica 2013-08-07 23:32:33 UTC
It's an eclipse bug than YP bug
Comment 5 Armin Kuster 2019-05-23 15:06:55 UTC
closing