Closed
Bug 859466
Opened 11 years ago
Closed 10 years ago
sysAlerts should respect the value of ShouldShowAlerts
Categories
(Toolkit :: General, defect, P1)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: bbondy, Assigned: bbondy)
References
Details
Attachments
(1 file, 1 obsolete file)
3.77 KB,
patch
|
wchen
:
review+
|
Details | Diff | Splinter Review |
We have sysAlerts which allows you to override the functionality of default notifications. We have a ShouldShowAlerts that determines if alerts should be shown or not. sysAlerts has always ignored this function. To protect against future bugs we should have that handling first. Note that there is currently no bug here becuase ShouldShowAlerts only returns false on Windows Desktop, and we only provide sysAlerts on Windows Metro. There is a bug in the handling of ShoudlShowAlerts though that I'll fix here too in case we ever remove sysAlerts in Metro.
Assignee | ||
Comment 1•11 years ago
|
||
I was originally going to also change the implementation of ShouldShowAlert to allow showing them when in Metro, but I'm not sure if that's correct or not, and leaving it as is, is the safest way to go for now.
Attachment #734788 -
Flags: review?(wchen)
Assignee | ||
Comment 2•11 years ago
|
||
Comment on attachment 734788 [details] [diff] [review] Patch v1. Actually I'm going to have to fix the bug in ShouldShowAlert at least in the Metro case, please hold off on the review.
Attachment #734788 -
Flags: review?(wchen)
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #734788 -
Attachment is obsolete: true
Attachment #734800 -
Flags: review?(wchen)
Updated•11 years ago
|
Product: Firefox for Metro → Toolkit
Comment 4•10 years ago
|
||
Comment on attachment 734800 [details] [diff] [review] Patch v2. Review of attachment 734800 [details] [diff] [review]: ----------------------------------------------------------------- Moving the check further up in |ShowAlertNotification| looks right to me, although I'm not sure about the metro stuff since I don't have any experience with it.
Attachment #734800 -
Flags: review?(wchen) → review+
Assignee | ||
Comment 5•10 years ago
|
||
This patch is from 8 months ago so I'm not sure if it can be safely landed or not. I don't think there is a pressing need though so I'm going to mark this as WFM and if we ever find it to be a problem we can take the patch.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Updated•10 years ago
|
OS: Windows 8 Metro → Windows 8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•