Closed Bug 1975002 Opened 3 months ago Closed 2 months ago

Custom avatar images are not properly decoded before being passed to nsITaskbarOverlayIconController.setOverlayIcon

Categories

(Toolkit :: Startup and Profile System, defect, P2)

defect

Tracking

()

RESOLVED FIXED
142 Branch
Tracking Status
firefox142 --- fixed

People

(Reporter: niklas, Assigned: mossop)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-profile-management] )

Attachments

(1 file)

With the new custom avatar selector on windows, setting the overlay icon currently fails.
NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsITaskbarOverlayIconController.setOverlayIcon]
We should update SetOverlayIcon to allow a custom avatar image.

Severity: -- → S2
Priority: -- → P2
Assignee: nobody → dtownsend
Status: NEW → ASSIGNED

The problem isn't with nsITaskbarOverlayIconController.setOverlayIcon, it's that we aren't decoding images before passing them. For vector images this isn't an issue but it is for raster images. Happily the same fix works for both.

Summary: Update nsITaskbarOverlayIconController.setOverlayIcon to allow custom avatar images → Custom avatar images are not properly decoded before being passed to nsITaskbarOverlayIconController.setOverlayIcon
Pushed by dtownsend@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/faa94134b35c https://hg.mozilla.org/integration/autoland/rev/2ef57d67fd06 Ensure we fully decode images before trying to use them in the Dock or Taskbar. r=profiles-reviewers,niklas
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
QA Whiteboard: [qa-triage-done-c143/b142]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: