-
Notifications
You must be signed in to change notification settings - Fork 2
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
Notification Support for Briar Desktop Flatpak #11
Comments
I think the flatpak is missing permission When comparing to other flatpaks (by VLC includes it in modules[], but their file is very long and I am not confident enough of that being the right way to attempt opening a PR |
…nable notification access Resolves: flathub#11
No, EDIT: All of this is assuming the app actually uses libnotify to send notifications. |
Upstream issue with potential to resolve this: Send notifications directly through dbus instead of using libnotify? (#487) |
There is nothing wrong using libnotify, its how they load it from a specific .so file thats problematic. This issue should be fixed on flathub side, they way they load it is unfortunate but not an issue in practice. |
I still wonder if there's a way to know which exact version of the .so file to load on the app's side so that we could implement this in a way that makes modifications on the flathub side unnecessary. |
Modifications on flathub side are necessary, there are two modifications needed and only one is actionable upstreams:
Regarding the .so file, .4 is the latest one and given the history of libnotify, its maintenance, and its purpose, it is unlikely that it will ever need a new version. I personally don't know the kotlin situation, but in other languages we would use a language binding and use whatever the system has installed. EDIT: The way the .so is loaded is not optimal, but is unrelated to this issue. |
In the MR neither of
are necessary, please remove them. It also missed adding |
Could you share some details on why that's not needed? I didn't find good explanations so far for that. The |
libnotify used to be a library to interact with the
So when using the notification portal, the user can request to not display notifications in a per-app basis or the DE might reject a notification request from an app (for example if an app which is unknown to the system requests to display a notification, the request will be ignored in GNOME), for what I recall GNOME takes this variable into consideration. It is also displayed as metainfo in gnome-software and we use this variable to determine whether to show the app in GNOME Settings permission panel. If you test that it works in GNOME, then I guess you can remove it I guess. Please see https://docs.gtk.org/gio/class.Notification.html and https://developer.gnome.org/documentation/tutorials/notifications.html for more information. |
Hello! When running the flatpak version of Briar Desktop, the notification feature added in 0.3.1-beta doesn't appear to work on Fedora 36. When running the 0.3.1-beta
.jar
version of Briar Desktop, it is able to properly connect to libnotify and send notifications, which leads me to believe this is an issue specific to the flatpak version.The text was updated successfully, but these errors were encountered: