Closed
Bug 995351
Opened 10 years ago
Closed 9 years ago
Alert service notification doesn't fade from transparent to opaque (always shows a window dialog bg color)
Categories
(Toolkit Graveyard :: Notifications and Alerts, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1211635
People
(Reporter: jaws, Unassigned)
References
Details
The window for the notification alert is supposed to fade in from transparent to opaque, except that only the content of the alert currently fades in (not the actual window). This leads the window to show a blank content area with a window-dialog background-color until the content fades in. The window should fade in along with the content. This may be likely due to the window being a content-permissioned window, as opposed to a chrome window (see https://bugzilla.mozilla.org/show_bug.cgi?id=991542#c12).
Reporter | ||
Comment 1•10 years ago
|
||
Neil, an an experiment I changed: > widgetData.mSupportTranslucency = mode == eTransparencyTransparent; to > widgetData.mSupportTranslucency = true; in nsMenuPopupFrame.cpp but that had no effect. Maybe this was the wrong place or there is something else going on? I'm not sure if we want DOM Notifications to have a chrome window since they show content (text and icon) provided by web pages, but maybe there is still something we can do here?
Flags: needinfo?(enndeakin)
Comment 2•10 years ago
|
||
I ran into this when working on Thunderbird mail notifications. I'm also interested in a solution.
Comment 3•10 years ago
|
||
Which notifications are you referring to? The Thunderbird mail alerts aren't menupopups, they're chrome windows. mSupportTranslucency only does anything on Linux, but this bug is marked as a Windows bug.
Flags: needinfo?(enndeakin)
Reporter | ||
Comment 4•10 years ago
|
||
I'm referring to the ones described here, https://developer.mozilla.org/en-US/docs/Web/API/notification You can click on "Notify me!" to have them appear.
Flags: needinfo?(enndeakin)
Comment 5•10 years ago
|
||
So that notification uses the new arrow panel animation. I don't see anything wrong. I also tried slowing the animation down and I can see the opacity changing from 0 to 1.
Flags: needinfo?(enndeakin)
Comment 6•10 years ago
|
||
Bulk move to Toolkit::Notifications and Alerts Filter on notifications-and-alerts-component.
Component: XUL Widgets → Notifications and Alerts
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Updated•10 months ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•