This is a similar situation we have with Flatpak when the desktop entry the application thinks it owns is actually different.
In Snap this environment variable is passed to the process. When no service was found, try reading it.
Details
Details
- Reviewers
sitter - Group Reviewers
Plasma - Commits
- R120:951551bc6d1a: [Notifications] Read BAMF_DESKTOP_FILE_HINT from environment
5.16 branch
My Spotify snap now identifies as Spotify and I can configure notifications for it.
- Notification without app name still resolves to process name properly
- Service lookup for normal apps still works
- Job view without an app name still resolves to process name properly
Diff Detail
Diff Detail
- Repository
- R120 Plasma Workspace
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Not a fan of treating the pid like a bool in conditionals, looks lovely other than that.