Closed
Bug 239835
Opened 21 years ago
Closed 21 years ago
Possible tray icon notification redirection
Categories
(SeaMonkey :: MailNews: Message Display, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: neil, Assigned: neil)
Details
Attachments
(1 file, 1 obsolete file)
6.64 KB,
patch
|
Bienvenu
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
Before creating a system tray icon notification window nsMessengerWinIntegration
searches the whole window station for an existing window of the class
MailBiffNotificationMessageWindow. If such a window already exists, either from
running multiple debug builds, or from a malicious application, then any shell
icon notifications will be linked that instance rather than the instance trying
to show the icon.
Assignee | ||
Comment 1•21 years ago
|
||
This makes the window handle a global so we never have to search for a previous
instance.
Assignee: sspitzer → neil.parkwaycc.co.uk
Status: NEW → ASSIGNED
Comment 2•21 years ago
|
||
Neil I forgot where we left of with this discussion yesterday. Are there
problems with this patch that need investigation or different approaches we were
talking about besides this one?
Assignee | ||
Comment 3•21 years ago
|
||
I was wondering whether you were happy with these globals, perhaps these
variables and methods should be part of the nsMessengerWinIntegration.cpp object
- so for instance you could destroy the window when the object is destroyed.
Comment 4•21 years ago
|
||
Comment on attachment 145566 [details] [diff] [review]
First go at a patch
I don't really have a preference one way or the other. Btw, I think you
accidentally removed a curly brace at the top of this patch.
sr=mscott if you want to go the global route.
Attachment #145566 -
Flags: superreview+
> #define NOTIFICATIONCLASSNAME "MailBiffNotificationMessageWindow"
It used to be app name dependent, so different mail apps could run if one had
them. Now, all mail applications will be referencing the same biff window, i.e.
tb and sm cannot run together.
Or was it not working like that before?
Assignee | ||
Comment 6•21 years ago
|
||
(In reply to comment #5)
>>#define NOTIFICATIONCLASSNAME "MailBiffNotificationMessageWindow"
>
>It used to be app name dependent, so different mail apps could run if one
>had them. Now, all mail applications will be referencing the same biff window,
>i.e. tb and sm cannot run together.
>
>Or was it not working like that before?
I don't think so... anyway, this way it's better, because it doesn't search for
previous instances so you can even run release & debug simultaneously :-)
Assignee | ||
Comment 7•21 years ago
|
||
Attachment #145566 -
Attachment is obsolete: true
Assignee | ||
Comment 8•21 years ago
|
||
Comment on attachment 150275 [details] [diff] [review]
Updated for bitrot
Transferring mscott's sr.
Attachment #150275 -
Flags: superreview+
Attachment #150275 -
Flags: review?(sspitzer)
Assignee | ||
Comment 9•21 years ago
|
||
Comment on attachment 150275 [details] [diff] [review]
Updated for bitrot
Switching reviewer.
Attachment #150275 -
Flags: review?(sspitzer) → review?(bienvenu)
Updated•21 years ago
|
Attachment #150275 -
Flags: review?(bienvenu) → review+
Assignee | ||
Comment 10•21 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Product: Browser → Seamonkey
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.
Description
•