Thunderbird Dock Icon morphing into different icon when there is new mail after upgrade from unbranded to branded version

RESOLVED INCOMPLETE

Status

RESOLVED INCOMPLETE
11 years ago
2 years ago

People

(Reporter: marcia, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
x86
Mac OS X

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [workaround see comment 6])

Attachments

(1 attachment)

Created attachment 328029 [details]
Screenshot if icon when there is new mail

Please see attached screenshot. My Thunderbird dock icon morphs into a new icon when there is new mail, and then reverts to the regular Tbird icon after the mail has been read. Perhaps this is intentional, but I find it a bit strange. Looks like Bug 397621 was the one that made the changes.
Using version 3.0a2pre (2008070304)
I suspect this is because we've changed to unbranded in bug 397621.

My guess is that your dock icon was created with the previously branded Thunderbird, and hence it got the main Thunderbird icon.

I'm fairly sure there is an icon "replacement" for when we get new mail, so now the build is unbranded, we're using the unbranded "replacement" icon.

I'm not sure how Mac works with this sort of thing (i.e. whether or not we could make the replacement icon essentially be an overlay.

The work around would be to remove your current dock item and re-add it, which would now (of course) be the unbranded icon, hence it then stays the same when you get new mail.
There isn't actually a replacement image: we just call the Carbon function BeginCGContextForApplicationDockTile(), draw a circle and stick the number in it, and then to clear the new indicator call RestoreApplicationDockTileImage(). Unfortunately, apparently OS X doesn't expect people to go around quietly changing their application icon the way our updater does, so we get a drawing context on the new icon, and restore to a cached copy of the old one somewhere.

Comment 4

9 years ago
I had this problem after updating to Thunderbird 3. The old Thunderbird 2 icon stayed in the dock, but whenever there were unread emails the icon changed to the new icon with the badge displayed on it.

Comment 5

9 years ago
So......anyone gonna work on this issue?
(In reply to comment #5)
> So......anyone gonna work on this issue?

If you can find a solution you're welcome to. I took a five minute look the other day and came to the conclusion that there is caching going on in Apple's Dock and we've got no control over it whatsoever.

The workaround is to click & hold the dock icon, drag it away and back to the dock, and it'll refresh when you let go the mouse button when its back over the dock.
Whiteboard: [workaround see comment 6]
(In reply to comment #6)
> If you can find a solution you're welcome to. I took a five minute look the
> other day and came to the conclusion that there is caching going on in Apple's
> Dock and we've got no control over it whatsoever.

Oh, and I've got nothing to prove that its Apple's dock software that's causing the issue, that's just my impression from what I was trying to do and whilst I'm here, this is what I tried:

- Provided a different file icon name in Info.plist
- Tried touching the app bundle to force a refresh as per bug 554997.

Updated

9 years ago
Blocks: 557832

Comment 8

9 years ago
What I can tell you is that this bug occurred between the release of SeaMonkey 1.9 and 2.0

Comment 9

9 years ago
Still present in SeaMonkey 2.0.4, 2.1 A1, 2.1 Pre, 2.0.5, and just now 2.1 A2.

It would be nice if someone fixed this.

Comment 10

9 years ago
STILL present in SM 2.0.6
(In reply to comment #10)
> STILL present in SM 2.0.6

That is not surprising considering this bug hasn't been resolved yet. You do not need to comment for every single version. It just serves to spam people.

As comment 6 and the status whiteboard have already specified there is a work around:

(In reply to comment #6)
> The workaround is to click & hold the dock icon, drag it away and back to the
> dock, and it'll refresh when you let go the mouse button when its back over the
> dock.

If that doesn't work, try removing it completely and then re-adding it.

Comment 12

9 years ago
The work-around doesn't work for Seamonkey. With new mail received, I tried to drag the icon off the dock and put it back, didn't work. I tried to close the program, drag the icon off, open the program. Didn't work.

The only thing that worked for me was to physically replace the mozilla.icns and seamonkey.icns icons inside the Resources folder.
(In reply to comment #12)
> The work-around doesn't work for Seamonkey. With new mail received, I tried to
> drag the icon off the dock and put it back, didn't work. I tried to close the
> program, drag the icon off, open the program. Didn't work.

I suggest that you file a SeaMonkey specific bug, with your explanation and exactly what you are replacing with what. I do think that your issue isn't to do with this one.
Summary: Thunderbird Dock Icon morphing into different icon when there is new mail → Thunderbird Dock Icon morphing into different icon when there is new mail after upgrade from unbranded to branded version
Is this seen using a currnet version?
Flags: needinfo?(jamesrome)

Comment 15

2 years ago
I do not have an unbranded version, and have never seen the dock icon change.
Flags: needinfo?(jamesrome)
FWIW I can't imagine this happens on a current version with a current Mac OS.
If anyone thinks otherwise please reopen.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.