Bug 3332 - Build Project button is inactive sometimes in eclipse for a clutter project.
Summary: Build Project button is inactive sometimes in eclipse for a clutter project.
Status: CLOSED WONTFIX
Alias: None
Product: Eclipse Plugin
Classification: Yocto Project Subprojects
Component: eclipse-plugin (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Low normal
Target Milestone: Future
Assignee: Jessica
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-10-24 12:34 UTC by Alexandru Georgescu
Modified: 2019-05-23 15:06 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
build project. (86.84 KB, image/jpeg)
2012-10-24 12:34 UTC, Alexandru Georgescu
no flags Details

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