Both a taskbar icon and a notify icon disppear when TB window is minimized
Categories
(Thunderbird :: OS Integration, defect)
Tracking
(thunderbird_esr78 unaffected)
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | unaffected |
People
(Reporter: toshi, Assigned: toshi)
References
Details
Attachments
(1 file)
Following the steps below, both a taskbar icon and a notify icon disappear so that there is no way to bring Thunderbird's window back.
- Open Thunderbird and make sure there is no unread emails.
- Set
mail.minimizetotray
totrue
- Minimize TB's window. (An icon should be displayed in the notification area.)
- Click the notification icon. (The icon should disappear.)
- Minimize the window again.
- No notification icon is added, so there is no way to bring the window back.
Assignee | ||
Comment 1•3 years ago
|
||
Under the following conditions, both a taskbar icon and a notify icondisppear
so that there is no way to bring Thunderbird's window back.
- No unread email
mail.minimizetotray = true
This happens because IconWindowProc
deletes the notify icon without updating
the flag nsMessengerWinIntegration::mTrayIconShown
. This patch makes sure
that flag is set to false
every time we delete the notify icon through
Shell_NotifyIconW
. In order for IconWindowProc
to access the instance of
nsMessengerWinIntegration
, this patch associates the instance pointer with
the window handle.
Updated•3 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/42990746ade4
Make nsMessengerWinIntegration::mTrayIconShown consistent with the icon's status. r=mkmelin
Comment 3•3 years ago
|
||
Comment on attachment 9212443 [details]
Bug 1701891 - Make nsMessengerWinIntegration::mTrayIconShown consistent with the icon's status. r=mkmelin
[Approval Request Comment]
User impact if declined: per bug description
Testing completed (on c-c, etc.): since initial 89 beta
Risk to taking this patch (and alternatives if risky): medium - the code is slightly complicated
Comment 4•3 years ago
|
||
Comment on attachment 9212443 [details]
Bug 1701891 - Make nsMessengerWinIntegration::mTrayIconShown consistent with the icon's status. r=mkmelin
[Triage Comment]
Approved for esr78
Comment 5•3 years ago
|
||
Comment on attachment 9212443 [details]
Bug 1701891 - Make nsMessengerWinIntegration::mTrayIconShown consistent with the icon's status. r=mkmelin
This needs rebasing for esr78.
Assignee | ||
Comment 6•3 years ago
|
||
I think this is a regression from bug 715799 and is not applicable to esr78. This might have been a dup of bug 1701429.
Description
•