Closed Bug 345931 Opened 18 years ago Closed 18 years ago

Double-clicking an empty space results in event with wrong time values.

Categories

(Calendar :: Sunbird Only, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 324666

People

(Reporter: gregt, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060614 Fedora/1.5.0.4-1.2.fc5 Firefox/1.5.0.4 pango-text
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060507 Mozilla Sunbird/0.3a2

Double-clicking in a blank space where there is no event opens up a New Event dialog, but the From and To fields are passed the current time of day, not the selected time.  


Reproducible: Always

Steps to Reproduce:
1.Double-click in a blank space where there is no event, say in the 10:00 time slot.  Assume the current time is 20:04
A "New Event" dialog comes up.  

Actual Results:  
The times in the From and To fields are filled in with 20:00 and 21:00 respectively, reflecting the CURRENT time of day and not 10:00-11:00 as expected.  



Expected Results:  
The times in the From and To fields should come up pre-filled with 10:00 and 11:00 respectively (11:00 will vary depending on default appointment length).



It is important to pass the correct times because people who are likely to use this software (eg secretaries) are not going to check times for appointments twice.  Technically they have already entered the start time by selecting which time slot to double-click.  

Note that left-dragging in an empty space behaves as expected.  The double-click should just be interpreted as a mouse drag from $startOfHour to $startOfHour+$defaultAppointmentTime.

Also note that the dates in the From and To fields behave as expected  (ie double-clicking on a blank space in a day other than the current day results in that date being passed to the From and To fields).

*** This bug has been marked as a duplicate of 324666 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.