Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327692 - DayEditor has no option for Precision Event displaying
Summary: DayEditor has no option for Precision Event displaying
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Nebula (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Laurent CARON CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-13 13:19 EDT by danielboydelatour CLA
Modified: 2021-07-05 11:41 EDT (History)
1 user (show)

See Also:


Attachments
This is my solution/implementation I would like to see. (48.36 KB, patch)
2010-10-13 13:24 EDT, danielboydelatour CLA
no flags Details | Diff
This is the solution I would like. :) (48.36 KB, patch)
2010-10-13 14:10 EDT, danielboydelatour CLA
no flags Details | Diff

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