Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 292412 - [LTTng] Control Flow View Zoom-In some times does not show the state
Summary: [LTTng] Control Flow View Zoom-In some times does not show the state
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: LinuxTools (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Alvaro Sanchez-Leon CLA
QA Contact: Francois Chouinard CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 301629
  Show dependency tree
 
Reported: 2009-10-15 10:48 EDT by Alvaro Sanchez-Leon CLA
Modified: 2022-01-13 14:52 EST (History)
1 user (show)

See Also:


Attachments
patch (37.99 KB, patch)
2010-06-29 23:50 EDT, Alvaro Sanchez-Leon CLA
no flags Details | Diff
mylyn/context/zip (8.08 KB, application/octet-stream)
2010-06-29 23:50 EDT, Alvaro Sanchez-Leon CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alvaro Sanchez-Leon CLA 2009-10-15 10:48:38 EDT
When Zoom-In is requested in the control flow view is triggers a data request for the new time window and reflects the state of processes receiving events within that time interval however process not receiving events on the requested time interval should still reflect the state as per last event registered in the state model, today the state cached in the state model does not get reflected in the GUI sometimes.
Comment 1 Francois Chouinard CLA 2010-06-09 01:03:45 EDT
Postponed to 0.6.1
Comment 2 Alvaro Sanchez-Leon CLA 2010-06-29 23:23:46 EDT
Resolved, 
The synthetic event provider has been updated to draw the last state registered in its corresponding state provider, 
when multiple traces are involved within the same experiment, a loop is performed to trigger the drawing of the last state on every trace.

This issue is also covering some left overs of Bug 303510, where selecting next or previous event on the first event or last event would either go all the way to the birth time of the process or the end time of the trace.  These border events don't have a reference to the next event since it's out of the scope of the data collected when a zoom in / out was previously selected.

The mechanism is adjusted to artificially extend these events to either half page before or after the visible time window, so moving to previous or next border events would re-select half the window before or after and therefore be able to keep the zoom level and visualise a before or after layout of information.

The above required an adjustment to the tmf time analysis widget to correct a bug, when the currently selected time is in the middle of the last event of a particular process and the next event option is selected, this was causing to re-select back to the start time of the last event, the correction causes it to select to the end of the last event as it's expected.
Comment 3 Alvaro Sanchez-Leon CLA 2010-06-29 23:50:43 EDT
Created attachment 173064 [details]
patch
Comment 4 Alvaro Sanchez-Leon CLA 2010-06-29 23:50:44 EDT
Created attachment 173065 [details]
mylyn/context/zip
Comment 5 Alvaro Sanchez-Leon CLA 2010-06-29 23:52:19 EDT
Committed, see comment 2, for details
Comment 6 Francois Chouinard CLA 2010-07-08 10:14:28 EDT
Released in a past delivery.