Closed Bug 1790695 Opened 2 years ago Closed 2 years ago

Really port bug 1433037 [taskbar preview's favicon appears blank] to SeaMonkey

Categories

(SeaMonkey :: OS Integration, defect)

defect

Tracking

(seamonkey2.53+ fixed)

RESOLVED FIXED
Future
Tracking Status
seamonkey2.53 + fixed

People

(Reporter: frg, Assigned: frg)

References

Details

(Whiteboard: SM2.53.15)

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1475524 +++

Not so simple fix. Call to imgTools.decodeImage in WindowsPreviewPerTab.jsm needs to be replaced with imgTools.decodeImageAsync and the callback used/called when the image data has been decoded. My previous fix only renamed the function. Wonder if I tested it but probably not because 2.56 and up was broken at the time... Verfied broken in current working 2.57 too.

Thought about moving the duplicate code setting the defaut icon into a function but given that it matches the Fx code and is pretty much only a few lines apart so won't be overlooked if changed again didn't. But can do.

[Approval Request Comment]
Regression caused by (bug #): Bug 1433037
User impact if declined: no individual taskbar icons
Testing completed (on m-c, etc.): 2.53.15b1 pre
Risk to taking this patch (and alternatives if risky): basically the Firefox patch
String changes made by this patch: --

Attachment #9294501 - Flags: review?(iannbugzilla)
Attachment #9294501 - Flags: approval-comm-release?
Attachment #9294501 - Flags: approval-comm-esr60?

Comment on attachment 9294501 [details] [diff] [review]
1790695-decodeimageasync-25315.patch

[Triage Comment]
Looks like the correct thing to do r/a=me

Attachment #9294501 - Flags: review?(iannbugzilla)
Attachment #9294501 - Flags: review+
Attachment #9294501 - Flags: approval-comm-release?
Attachment #9294501 - Flags: approval-comm-release+
Attachment #9294501 - Flags: approval-comm-esr60?
Attachment #9294501 - Flags: approval-comm-esr60+

Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/1c3a6d5a0263
Call Imagelibs decodeImageAsyncWindows using a callback. r=IanN

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Whiteboard: SM2.53.15

https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/9261ac168743351bae4e4216c9be6aa7d21e4ceb
Call Imagelibs decodeImageAsyncWindows using a callback. r=IanN a=IanN

Target Milestone: --- → Future
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: