Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icon not always showing in history #542

Open
RiedleroD opened this issue Sep 29, 2024 · 2 comments
Open

icon not always showing in history #542

RiedleroD opened this issue Sep 29, 2024 · 2 comments

Comments

@RiedleroD
Copy link

Some icons show up in the app-icon attribute, others do not.

these show up:

  • NetworkManager sets generic icons, those show up
  • when I set icon paths via notify-send, they show up

these don't show up, despite an icon clearly being set:

  • when Firefox send notifications from websites
  • when Telegram-desktop sends notifications with e.g. a profile picture

So my theory is that icons that aren't associated with a path or generic name are handled differently? I would still like to be able to read those from the history though.

@emersion
Copy link
Owner

There are other fields which can set the icon, either with the full path or pixel data.

@RiedleroD
Copy link
Author

they don't show up in the history as far as I can see. For example, this is a notificiation from a person liking my fedi post - the profile picture of the person shows in the notification itself:

{
	"app-name" : {
		"type" : "s",
		"data" : "Firefox"
	},
	"app-icon" : {
		"type" : "s",
		"data" : ""
	},
	"category" : {
		"type" : "s",
		"data" : ""
	},
	"desktop-entry" : {
		"type" : "s",
		"data" : "Firefox"
	},
	"summary" : {
		"type" : "s",
		"data" : "Luke"
	},
	"body" : {
		"type" : "s",
		"data" : "favorited your meow"
	},
	"id" : {
		"type" : "u",
		"data" : 76
	},
	"urgency" : {
		"type" : "y",
		"data" : 255
	},
	"actions" : {
		"type" : "a{ss}",
		"data" : {
			"default" : "Activate"
		}
	}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants