-
Notifications
You must be signed in to change notification settings - Fork 16.5k
Description
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
38.2.1
What operating system(s) are you using?
Windows
Operating System Version
Windows 11 23H2
What arch are you using?
x64
Last Known Working Electron version
37.6.1 (bug introduced in v38.0.0-beta.8)
Does the issue also appear in Chromium / Google Chrome?
I don't know how to test
Expected Behavior
When showing a desktop notification with a .png icon, the icon would display on the left side of the toast notification. As shown in this screenshot.

Actual Behavior
There does not appear to be any icon at all:

Testcase Gist URL
https://gist.github.com/FatCatClient/cafe73fb7670ea2294504a1c2f7408b1
Additional Information
In Electron version 37.X.X this issue appears to be nonexistent. I was also unable to reproduce it on MacOS, which appears to still function the same as it did in version 37 of Electron. We have found similar issues under some versions of Linux with KDE, but it's hard for me to say whether or not they are directly related. Which leads me to believe this is a Windows-specific problem.
Though the testcase Electron Fiddle project loads an image from a web location, the issue also seems to occur with bundled assets called through the require(...)
function.