-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
notifications: Try to guess app id if getting from hints fails #479
Conversation
This change will result in Discord iconography being that of the avatar of the first avatar of the first person / channel / server you get a notification from, regardless of whether or not any other notifications come from the same source, That's why I have it set to prioritize the app info image. |
See 6c0608b The specification is for the Notification itself, it shouldn't dictate how it should be handled in Raven. I would be curious what sort of AppInfo we are getting from those applications sending the notifications. |
Gonna give this more thought... |
a438856
to
627710d
Compare
The notification spec states that the `desktop-entry` hint should be the prefix of the Desktop Application Info file. However, because of the push to have fully-qualified app ID's, some applications now have a mismatch between the ID and the desktop file, meaning the hint cannot be used for that application. In cases where the hint fails, try to guess the ID using the application's name given to us from DBus. It seems to fix #477. Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
627710d
to
b4fb60d
Compare
Thought given. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Things no bork so LGTM 👍
Found two more things bork: Solus Update Service and budgie-daemon when we get the notification that there are notifications. |
Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
Needs re-review due to new commit
Description
The notification spec states that the
desktop-entry
hint should be the prefix of the Desktop Application Info file. However, because of the push to have fully-qualified app ID's, some applications now have a mismatch between the ID and the desktop file, meaning the hint cannot be used for that application.In cases where the hint fails, try to guess the ID using the application's name given to us from DBus.
It seems to fix #477.
Original description:
The spec states that the image data from a notification should be used before the application icon or any other icon. This change should reflect that.
It seems to fix #477. Nemo and Twitch Streamlink notifications now display properly in Raven on my system.
Signed-off-by: Evan Maddock maddock.evan@vivaldi.net
Submitter Checklist
git rebase -i
(if needed)