mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #884] Windows notification icon display issue #627
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#627
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ZhangTianrong on GitHub (Sep 16, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/884
🐞 Describe the bug
The Ntfy icon displayed in Windows notifications seem to be too large so it gets cut on the right:
💻 Components impacted
web app
💡 Screenshots and/or logs
🔮 Additional context
@ZhangTianrong commented on GitHub (Mar 5, 2025):
I can confirm that this is due to
/static/images/ntfy.pngbeing non-square. This image is101x86but the icon of Windows notification is supposed to be square. By replacing it with a square one, I am able to get notifications to look like the following:If someone wants to build
ntfyto perform this change, note that:Update on Refreshin DevTools → Application → Service Workers and refresh. For other browsers, search for the equivalent action to take./static/images/ntfy.pngis still101x86in DevTools → Application → Cache Storage despite clearing site data and browser cache, make sure to purge the cache from the name server like Cloudflare as well to have the changes you have made reflected immediately.From what I see,
/static/images/ntfy.pngis used exclusively for the icon of web push notifications in browsers and the open graph image. Is there any specific reason to insist on using a non-square image?@binwiederhier commented on GitHub (Feb 2, 2026):
I've updated the PWA and web push icon to be square: https://github.com/binwiederhier/ntfy/blob/main/web/public/static/images/ntfy.png in
github.com/binwiederhier/ntfy@f4fe62bd91-- This will be fixed in the next release.