Closed
Bug 350353
Opened 18 years ago
Closed 18 years ago
notificationbox is racy
Categories
(Toolkit :: UI Widgets, defect)
Toolkit
UI Widgets
Tracking
()
RESOLVED
FIXED
People
(Reporter: mwu, Assigned: mwu)
References
(Blocks 1 open bug, )
Details
(Keywords: fixed1.8.1)
Attachments
(3 files, 3 obsolete files)
51.66 KB,
image/png
|
Details | |
4.11 KB,
patch
|
enndeakin
:
first-review+
|
Details | Diff | Splinter Review |
3.94 KB,
patch
|
mtschrep
:
approval1.8.1+
|
Details | Diff | Splinter Review |
If notifications are added to the notificationbox too quickly, the notification box gets confused.
Assignee | ||
Comment 1•18 years ago
|
||
Assignee | ||
Comment 2•18 years ago
|
||
This patch makes notificationbox not depend on the completion of the animation.
Assignee: nobody → michael.wu
Status: NEW → ASSIGNED
Attachment #235961 -
Flags: first-review?(enndeakin)
Assignee | ||
Comment 3•18 years ago
|
||
Make sure the notification is visible if we're killing its animation callback to put a new notification in.
Attachment #235961 -
Attachment is obsolete: true
Attachment #235962 -
Flags: first-review?(enndeakin)
Attachment #235961 -
Flags: first-review?(enndeakin)
Assignee | ||
Comment 4•18 years ago
|
||
Last patch broke the animated closing. This version doesn't.
Attachment #235962 -
Attachment is obsolete: true
Attachment #236013 -
Flags: first-review?(enndeakin)
Attachment #235962 -
Flags: first-review?(enndeakin)
Comment 5•18 years ago
|
||
Comment on attachment 236013 [details] [diff] [review] Move important stuff out of animation callback, v3 This appears to be a branch patch, which doesn't have 343574 in it. I tested the patch but it didn't seem to work properly when closing a notification when two were open, testing with http://xulplanet.com/ndeakin/tests/xts/notification/notificationbox-browser.xul
Attachment #236013 -
Flags: first-review?(enndeakin) → first-review-
Assignee | ||
Comment 6•18 years ago
|
||
Ported to trunk version of notification.xml, tested/debugged with http://xulplanet.com/ndeakin/tests/xts/notification/notificationbox-browser.xul
Attachment #236013 -
Attachment is obsolete: true
Attachment #236980 -
Flags: first-review?(enndeakin)
Updated•18 years ago
|
Attachment #236980 -
Flags: first-review?(enndeakin) → first-review+
Assignee | ||
Comment 7•18 years ago
|
||
Checking in toolkit/content/widgets/notification.xml; /cvsroot/mozilla/toolkit/content/widgets/notification.xml,v <-- notification.xml new revision: 1.8; previous revision: 1.7 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 8•18 years ago
|
||
Comment on attachment 236980 [details] [diff] [review] Move important stuff out of animation callback, v4 This patch is necessary if we want bug 348576. It fixes regressions due to the animation code that is used now and makes it possible to open two notifications at the same time without racing.
Attachment #236980 -
Flags: approval1.8.1?
Assignee | ||
Comment 9•18 years ago
|
||
Attachment #237775 -
Flags: approval1.8.1?
Assignee | ||
Updated•18 years ago
|
Attachment #236980 -
Flags: approval1.8.1?
Comment 10•18 years ago
|
||
Comment on attachment 237775 [details] [diff] [review] Move important stuff out of animation callback, v4 (branch) a=schrep for regression fix in new functionality.
Attachment #237775 -
Flags: approval1.8.1? → approval1.8.1+
Assignee | ||
Comment 11•18 years ago
|
||
Branch: Checking in toolkit/content/widgets/notification.xml; /cvsroot/mozilla/toolkit/content/widgets/notification.xml,v <-- notification.xml new revision: 1.1.2.7; previous revision: 1.1.2.6 done
Keywords: fixed1.8.1
Comment 12•18 years ago
|
||
robert, is this the bug you were showing me today?
Comment 13•18 years ago
|
||
Hey Sir Seth, This is for the race condition that mwu found. bug 348576 is for getting the add-ons mgr. to use notificationbox. I don't believe there is a bug for the notificationbox displaying full height then animating from a min height back to full height but I haven't searched for one as of yet. I have a couple of ideas of how this can be improved / fixed for 3.0
You need to log in
before you can comment on or make changes to this bug.
Description
•