Application icon not working in Windows #214

Closed
opened 2025-11-20 05:08:06 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @rgl on GitHub (Oct 31, 2022).

Unfortunately, I mislead myself into thinking Window.SetIcon also supported the .ico format (like the systray go module) on Windows, but its not really the case, as its fails with the error:

decode image for window icon
2022/10/31 15:04:31   Cause: image: unknown format
2022/10/31 15:04:31   At: C:/Users/rgl/go/pkg/mod/fyne.io/fyne/v2@v2.1.4/internal/driver/glfw/window.go:266
2022/10/31 15:04:31 Fyne error:  Failed to decode image for window icon
2022/10/31 15:04:31   Cause: image: unknown format
2022/10/31 15:04:31   At: C:/Users/rgl/go/pkg/mod/fyne.io/fyne/v2@v2.1.4/internal/driver/glfw/window.go:266

So this needs to be fixed.

Originally created by @rgl on GitHub (Oct 31, 2022). Unfortunately, I mislead myself into thinking `Window.SetIcon` also supported the .ico format (like the systray go module) on Windows, but its not really the case, as its fails with the error: ``` decode image for window icon 2022/10/31 15:04:31 Cause: image: unknown format 2022/10/31 15:04:31 At: C:/Users/rgl/go/pkg/mod/fyne.io/fyne/v2@v2.1.4/internal/driver/glfw/window.go:266 2022/10/31 15:04:31 Fyne error: Failed to decode image for window icon 2022/10/31 15:04:31 Cause: image: unknown format 2022/10/31 15:04:31 At: C:/Users/rgl/go/pkg/mod/fyne.io/fyne/v2@v2.1.4/internal/driver/glfw/window.go:266 ``` So this needs to be fixed.
Author
Owner

@mlsmaycon commented on GitHub (Oct 31, 2022):

Thanks for validating that.

@mlsmaycon commented on GitHub (Oct 31, 2022): Thanks for validating that.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#214