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

Bug 358224

Summary: [LTTng] Dotted lines not shown in Control Flow View and Resource View
Product: z_Archived Reporter: Bernd Hufmann <bernd.hufmann>
Component: LinuxToolsAssignee: Bernd Hufmann <bernd.hufmann>
Status: CLOSED FIXED QA Contact: Francois Chouinard <fchouinard>
Severity: minor    
Priority: P3 CC: jjohnstn
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Fix for bug jjohnstn: iplog+

Description Bernd Hufmann CLA 2011-09-20 08:07:00 EDT
The Control Flow View and Resource View used to display dotted vertical lines if horizontal bars couldn't be displayed for the current resolution and zoom. A dotted line is an indication for the user that there is more information for the given pixel and the user has to zoom in to see the details. The feature is not available anymore.

To reproduce:
Open any LTTng trace of a sufficient long time range.
Comment 1 Bernd Hufmann CLA 2011-09-20 08:44:18 EDT
Created attachment 203676 [details]
Fix for bug

A previous change for the calculation of the width of the rectangle bar has been reverted. 
This previous changes used Math.ceil() instead of a cast of a double to integer which basically 
means Math.floor() (next low integer value). The change to Math.ceil() prevented the width to 
be 0 which later is used as indicator for the dotted line.
Comment 2 Bernd Hufmann CLA 2011-09-20 08:49:32 EDT
Patch committed. Bug is fixed.
Comment 3 Francois Chouinard CLA 2012-03-26 13:53:01 EDT
Delivered in 0.9.0