Closed Bug 1715713 Opened 4 years ago Closed 4 years ago

Prevent showing multiple newmailalert.xhtml notification windows

Categories

(Thunderbird :: OS Integration, defect)

defect

Tracking

(thunderbird_esr78 unaffected, thunderbird90 fixed)

RESOLVED FIXED
91 Branch
Tracking Status
thunderbird_esr78 --- unaffected
thunderbird90 --- fixed

People

(Reporter: rnons, Assigned: rnons)

References

Details

Attachments

(1 file)

When Use the system notification is turned off, and when receiving several messages in a short time, multiple newmailalert.xhtml may be shown laying on each other. Slightly older notifications are hidden and blocked by newer notifications.

Should add a queue to show the next after the current is closed.

Assignee: nobody → remotenonsense

This patch makes two changes:

  1. If a newmailalert.xhtml window is already shown, save the folder and show a new notification only after the current notification is closed.
  2. Pass new message keys to newmailalert.js. Previously, newmailalert.js receives a root folder and scans all subfolders for NEW messages, which is unnecessary and may incorrectly include old messages.

This will fix bug 1715735 as well.

Status: NEW → ASSIGNED
See Also: → 1715735
Target Milestone: --- → 91 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/81f4842d2dd7
Prevent showing multiple newmailalert.xhtml notification windows. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED

Comment on attachment 9226743 [details]
Bug 1715713 - Prevent showing multiple newmailalert.xhtml notification windows. r=mkmelin

[Approval Request Comment]
Regression caused by (bug #): bug 715799
User impact if declined: 1. When not using the system alert, multiple newmailalert.xhtml may block each other. 2. In some cases, old mails are shown in the alert repeatedly
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): low

Attachment #9226743 - Flags: approval-comm-beta?

Comment on attachment 9226743 [details]
Bug 1715713 - Prevent showing multiple newmailalert.xhtml notification windows. r=mkmelin

[Triage Comment]
Accepted for 90.0b2

Attachment #9226743 - Flags: approval-comm-beta? → approval-comm-beta+
Regressions: 1715735
See Also: 1715735
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: