Bug 309

Summary: Improve progress monitor of Eclipse tool plugin org.yocto.sdk.remotetools
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Lianhao Lu <lianhao.lu>
Component: eclipse-pluginAssignee: Lianhao Lu <lianhao.lu>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, kevin.tian, lianhao.lu, liping.ke, sgw, yp.ep.watcher, yp.watcher
Version: 0.9   
Target Milestone: 0.9 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

Description Lianhao Lu 2010-09-12 23:05:48 UTC
The progress monitor of current eclipse tool plugin is somewhat misleading to the users. 

Take oprofile for example, the current progress monitor covers the launching of the remote oprofile-server, the launching of the local oprofile-viewer, and it will not end until the local oprofile-viewer is closed by the user. This is misleading to the users. We should modify the progress monitor to only cover the remote oprofile-server lauching and if it fails, the user should see some kind of error messages.
Comment 1 Lianhao Lu 2010-09-25 19:48:51 UTC
Fixed in commit 696ba4f. 

By adding the subtask names, now the progress dialogue now can display what is going on.

Errors such like failure to launching the oprofile-server would be reported by an error dialogue.

I didn't move the running local oprofile-viewer out of the progress monitor, because the oprofile-viewer GUI can NOT be closed by the user if it finds a version mismtach or the remote kernel is not configured correctly(it will continuously connecting to the remote target). The progress monitor gives the user an opportunity to close the oprofile-viewer GUI in such a situation(by clicking the "Cancel" button on the progress dialogue).
Comment 2 Lianhao Lu 2010-09-28 18:41:42 UTC
Verified. Now the progress dialogue displays the subtask names.