BurntToast icon indicating copy to clipboard operation
BurntToast copied to clipboard

[Bug]: Toast Notification Applogo with Gifs not always being loaded

Open Mynster9361 opened this issue 2 months ago • 0 comments

Checklist

  • [x] I have verified this is the correct repository for opening this issue.
  • [x] I have verified no other issues exist related to my problem.
  • [x] I have, to the best of my knowledge, that this isn't an environmental issue (Sorry, we can't help troubleshoot your infrastructure).

Steps to Reproduce

# Import the BurntToast module from the current directory
Import-Module ".\src\BurntToast.psm1" -Force

# Define paths for the images
$gifPath = ".\anime_character_16x16.gif"  # You'll need to provide a GIF file

$notificationId = "1"
New-BurntToastNotification -AppLogo $gifPath -UniqueIdentifier $notificationId

# Running 5 tests with notificationid
1..5 | ForEach-Object {
    New-BurntToastNotification -Text "number $_ with Unique ID" -AppLogo $gifPath -UniqueIdentifier "$notificationId-$_"
}

#running 5 tests without notificationid
1..5 | ForEach-Object {
    New-BurntToastNotification -Text "number $_ without Unique ID" -AppLogo $gifPath
}

Expected Behavior

Image

I would expect to see the gif.

Also attached a video of seen results

https://github.com/user-attachments/assets/d31ef650-5bcf-4104-826b-2667463c6798

Actual Behavior

I have attached the gif for references but i believe the issue would happen with any gif in a 16x16 pixels format

The issue it self seems to be some load timing issue as when i open up all notifications i can see the gifs being played correctly

Experience with Toast

Beginner

Environment data: PowerShell

Name                           Value
----                           -----
PSVersion                      7.5.3
PSEdition                      Core
GitCommitId                    7.5.3
OS                             Microsoft Windows 10.0.26100
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Environment data: OS

Replace with the output of: Get-ComputerInfo | fl OsName, OsVersion, OsArchitecture

Environment data: BurntToast

Can't do this atm due to gallery being down but the github version so:
ModuleVersion     = '1.1.0'

Consent to Attribution

  • [x] Please shout me out if I've inspired a blog post!

Mynster9361 avatar Oct 29 '25 19:10 Mynster9361