Closed
Bug 308832
Opened 19 years ago
Closed 19 years ago
Alarms fire when created, not when set
Categories
(Calendar :: Sunbird Only, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: lhabib, Assigned: mostafah)
Details
Attachments
(1 file)
|
1.31 KB,
patch
|
dmosedale
:
first-review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050916 Firefox/1.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050915 Mozilla Sunbird/0.2+ When I create an event or task with a popup alarm, I get a popup alert box immediately after creating it. The alert has the name of the event, with the date, time, and word "floating". The alert only pops up after creation of the event, and NOT at the time it should go off. As well, I can only get rid of the alert box by clicking the "Dismiss all" or "close" button - not "snooze"). Reproducible: Always Steps to Reproduce: 1.Create event or task 2.Set popup alarm 3. Actual Results: Alert pops up immediately after creation and not when it should. Expected Results: Alerted me at the appropriate time, and not after event creation.
Comment 1•19 years ago
|
||
Confirming on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050917 Mozilla Sunbird/0.2+
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•19 years ago
|
||
Probably fallout from bug 306982. Could possibly be from bug 298359. We probably want this to block 0.3a1 as well. mvl, thoughts?
Comment 4•19 years ago
|
||
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20051008 Mozilla Sunbird/0.2+ Installed sunbird-0.2+.en-US.linux-i686.tar.bz2 08-Oct-2005 14:52 from http://ftp.mozilla.org/pub/mozilla.org/calendar/sunbird/nightly/latest-trunk/ Same problem.
Comment 5•19 years ago
|
||
Ok, I did a little testing on this and I guess I can shed some more light on this. Testing happened with the 20051020 nightly on WinXP. This bug only occurs for me, when I create an event on the current day. So let's say it is the 2005-10-22 - 8:00 AM. I create an event lasting from 13:00-14:00 and I want an alarm popup 15 minutes before the event begins. Right after I created the event the alarm popup comes up. If I create the same event for 13:00-14:00 on 2005-10-23 the alarm popup does not show up.
Version: unspecified → Trunk
Comment 7•19 years ago
|
||
Actually, the alarms are not fired at creating, but just way too soon. Event creted for the next day will also fire the alarm, but you have to wait longer. The cause: a mixup of units. A delay is passed in in seconds, while the timer assumes it is msec. Which mean the even will fire in 1000msec, instead of 1000sec....
Updated•19 years ago
|
Attachment #200239 -
Flags: first-review?(dmose)
Comment 8•19 years ago
|
||
Comment on attachment 200239 [details] [diff] [review] use the right units r=dmose
Attachment #200239 -
Flags: first-review?(dmose) → first-review+
Comment 9•19 years ago
|
||
patch checked in
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•