Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358224 - [LTTng] Dotted lines not shown in Control Flow View and Resource View
Summary: [LTTng] Dotted lines not shown in Control Flow View and Resource View
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: LinuxTools (show other bugs)
Version: unspecified   Edit
Hardware: All Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Bernd Hufmann CLA
QA Contact: Francois Chouinard CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-20 08:07 EDT by Bernd Hufmann CLA
Modified: 2022-01-13 14:53 EST (History)
1 user (show)

See Also:


Attachments
Fix for bug (3.99 KB, patch)
2011-09-20 08:44 EDT, Bernd Hufmann CLA
jjohnstn: iplog+
Details | Diff

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