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

Bug 334560

Summary: [LTTng] LLTng does not appraise the Progress view of its work
Product: z_Archived Reporter: Daniel U. Thibault <d.u.thibault>
Component: LinuxToolsAssignee: Francois Chouinard <fchouinard>
Status: CLOSED FIXED QA Contact: Francois Chouinard <fchouinard>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 290046    

Description Daniel U. Thibault CLA 2011-01-17 13:35:08 EST
Build Identifier: 20100917-0705

When loading a large trace into an LTTng perspective, considerable time may elapse during which Eclipse is loading and analysing the trace in the background; the Progress view, despite this, reports no activity at all.

Reproducible: Always

Steps to Reproduce:
1. Open the Linux Tools LTTng perspective
2. Show the Progress view and detach it in order to simultaneously see the Timeframe view
3. Create an LTTng project
4. Import a large trace or a trace with inherent problems (anything that'll take a while to load)
5. Observe how the Timeframe view is obviously busy (updating its fields once every second or so), while the Progress view reports nothing at all.
Comment 1 Daniel U. Thibault CLA 2011-01-17 14:07:15 EST
Improved Steps to Reproduce:

1. Launch Eclipse
2. Open the Linux Tools LTTng perspective
3. Show the Progress view and detach it in order to simultaneously see the
Timeframe view
4. Create an LTTng project
5. Import a large trace or a trace with inherent problems (anything that'll
take a while to load)
6. Create an experiment and add the trace to it
7. Open the experiment
8. Observe how the Timeframe view is obviously busy (updating its fields once
every second or so), while the Progress view reports nothing at all

For step 5, you can use the sample trace attached to bug 334564 if you launch Eclipse from a terminal window: the warnings take a while to scroll by, leaving you time to see that no Progress is being reported.
Comment 2 Francois Chouinard CLA 2011-03-29 20:46:36 EDT
The fix for Bug337872 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=337872) added a progress bar this case. This is not a real progress bar since we don't know how long it will take to complete the task (i.e. we can't give a %). However, it does indicate that work is being performed in the background.

The corresponding patch was committed to HEAD.

Maybe you could have a look to see if it suits your need.

Regards,
/fc
Comment 3 Francois Chouinard CLA 2011-06-02 11:30:18 EDT
Considering it as fixed.
Comment 4 Francois Chouinard CLA 2011-07-22 14:59:08 EDT
Delivered with 0.8