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

Bug 327692

Summary: DayEditor has no option for Precision Event displaying
Product: z_Archived Reporter: danielboydelatour
Component: NebulaAssignee: Laurent CARON <laurent.caron>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: laurent.caron
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://github.com/eclipse/nebula/pull/136
Whiteboard:
Attachments:
Description Flags
This is my solution/implementation I would like to see.
none
This is the solution I would like. :) none

Description danielboydelatour CLA 2010-10-13 13:19:52 EDT
Build Identifier: 20100917-0705

Events in the DayEditor can have misleading durations because they are displayed with only as much precision as the granularity of the editor and extra rows are sometimes produced as an attempt to mask this lack of precision. 
Example,
An event occurring from 4:44 to 6:44 with 2 division per hour would be displayed as 4:30 to 7 as an attempt to contain all the rows occurring within the duration (appears 2 1/2 hours long instead of 2 to a user). I'd like an option which would allow the editor to simply display events to the nearest pixel instead.

Reproducible: Always
Comment 1 danielboydelatour CLA 2010-10-13 13:24:46 EDT
Created attachment 180800 [details]
This is my solution/implementation I would like to see.

I added an option which would allow a developer to show events with pixel precision vs row precision. I think this would be a great option for the day editor.
Comment 2 danielboydelatour CLA 2010-10-13 14:10:47 EDT
Created attachment 180810 [details]
This is the solution I would like. :)
Comment 3 danielboydelatour CLA 2010-10-13 14:13:08 EDT
Setting showEventsWithPrecision true will cause events to be rendered my way
Comment 4 Laurent CARON CLA 2019-09-20 10:46:51 EDT
Bug fixed in Nebula 2.3.0, thank you Daniel for your patch.