Closed Bug 995137 Opened 10 years ago Closed 10 years ago

Attendee dialog: freebusy-timebar doesn't always expand to 24 hours

Categories

(Calendar :: Dialogs, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bv1578, Assigned: bv1578)

Details

Attachments

(1 file)

In the Attendee dialog the freebusy-timebar usually displays an interval composed only by the working hours (from "Day Starts at" to "Day Ends at") unless the event is an All-day or has a Start hour or an End hour outside the mentioned interval. In this case the freebusy-timebar gets expanded to full 24 hours in order to display the whole time slot for the event.
When the end of the event occurs in the hour following the "Day Ends at" or in the day after, the freebusy-timebar doesn't expand to 24Hours unless there is a favorable combination of Start hour, End hour and "Day Starts at", "Day Ends at".


Steps to reproduce:

supposing we have "Day starts at" = 8 and "Day ends at" = 17, the following are examples of Start and End dates for an event that don't expand the freebusy-timebar when opening the Attendee dialog:

 start 10/4/2014 13:00 
 end   10/4/2014 17:50
 
 start 10/4/2014 23:00 
 end   11/4/2014 00:00
 
 start 10/4/2014 18:00
 end   11/4/2014 11:00

for these events the time slot of the event is partially or completely outside of the time interval displayed in the timebar.
Attached patch patch - v1 — — Splinter Review
The statement that has to check for extending to 24 hours the timebar needs more conditions.
Attachment #8405289 - Flags: review?(philipp)
Assignee: nobody → bv1578
Status: NEW → ASSIGNED
Attachment #8405289 - Flags: review?(philipp) → review+
Pushed to comm-central:
https://hg.mozilla.org/comm-central/rev/d3e56e118e43
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: