Click on System Tray notification throws JS exception and may open mail3pane window

VERIFIED WORKSFORME

Status

SeaMonkey
MailNews: Message Display
--
major
VERIFIED WORKSFORME
15 years ago
10 years ago

People

(Reporter: Olivier Vit (just a reporter), Assigned: (not reading, please use seth@sspitzer.org instead))

Tracking

Trunk
x86
Windows XP

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030615
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030615

With multiple POP accounts, get new mails notified, click on the system tray icon

In JavaScript console you get 
Error: [Exception... "Component returned failure code: 0x80070057
(NS_ERROR_ILLEGAL_VALUE) [nsIRDFService.GetResource]"  nsresult: "0x80070057
(NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame ::
chrome://messenger/content/msgMail3PaneWindow.js :: SelectFolder :: line 1421" 
data: no]
Source File: chrome://messenger/content/msgMail3PaneWindow.js
Line: 1421

Reproducible: Always

Steps to Reproduce:
1. send your self a message
2. wait until notification happens
3. open JavaScript console
4. click on System Tray icon

Actual Results:  
Mail 3 Pane window doesn't always get the focus (depends on which account is
active in it / which account has received the new message ?)
Exception is thrown in JS console

Expected Results:  
Always focus, no exception

The focus issue is difficult to isolate, but it looks that if current mail
account  is not the account receiving the new message, it doesn't focus on the
window.

Exception is always thrown, even if a single message comes on in on the current
mail account
(Reporter)

Comment 1

15 years ago
reproduced on win2000 1.4 final

Comment 2

15 years ago
Replicated with 
  Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031120
Achieved this by having a new message arrive to one account while the 3pane is 
focused on a different account.  Window did raise (come forward) when the icon 
was clicked.

Oliver, what do you mean by "*may* open mail3pane window" -- isn't the window 
supposed to be opened (or raised) by clicking on the icon?  Do you mean 
"*may not* open ... window"?

Note that if there is no mail/news window open when the biff occurs, the window 
opens and there is no JS exception.  However, if the icon is not cleared and the 
mail/news window lowered, clicking again will result in this same error.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Product: Browser → Seamonkey

Comment 3

14 years ago
I am not seeing this JS exception being thrown any longer, trying to reproduce 
my comment 2.

Olivier Vit, can you still see the symptom?
(Reporter)

Comment 4

14 years ago
wfm in 1.7.3
thanks
Status: NEW → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → FIXED

Comment 5

14 years ago
No specific bug / patch referenced as the fix.

-> WORKSFORME
Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Updated

14 years ago
Status: REOPENED → RESOLVED
Last Resolved: 14 years ago14 years ago
Resolution: --- → FIXED

Updated

14 years ago
Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Comment 6

14 years ago
Sorry!  Resolving properly.
Status: REOPENED → RESOLVED
Last Resolved: 14 years ago14 years ago
Resolution: --- → WORKSFORME

Updated

14 years ago
Status: RESOLVED → VERIFIED

Updated

10 years ago
Component: MailNews: Notification → MailNews: Message Display
QA Contact: stephend → search
You need to log in before you can comment on or make changes to this bug.