Closed julianfairfax closed 1 year ago
This should have caused a notification to pop up:
Tuba-Message: 11:07:53.419: Streams.vala:125: https://fosstodon.org/api/v1/streaming/?stream=user:notification: notification for TubaMastodonAccount
I'm suspecting there's something wrong either with the portal or the host, could you give the following a try and send me back the output?
# This will start sh in the flatpak
$ flatpak run --command=sh dev.geopjr.Tuba
[📦 dev.geopjr.Tuba ~]$ notify-send 'test'
This should have caused a notification to pop up:
Tuba-Message: 11:07:53.419: Streams.vala:125: https://fosstodon.org/api/v1/streaming/?stream=user:notification: notification for TubaMastodonAccount
I'm suspecting there's something wrong either with the portal or the host, could you give the following a try and send me back the output?
# This will start sh in the flatpak $ flatpak run --command=sh dev.geopjr.Tuba [📦 dev.geopjr.Tuba ~]$ notify-send 'test'
I receive a notification. Log:
[📦 dev.geopjr.Tuba ~]$ notify-send 'test'
(notify-send:3): libnotify-WARNING **: 22:32:51.187: Running in confined mode, using Portal notifications. Some features and hints won't be supported
libnotify-Message: 22:32:51.188: Category is not available when using Portal Notifications
libnotify-Message: 22:32:51.188: App Name is not available when using Portal Notifications
[📦 dev.geopjr.Tuba ~]$
Did a notification with the title 'test' pop up?
Did a notification with the title 'test' pop up?
Yes
Where'd your comment go?
Ok, I figured it out:
flatpak override --user --socket=session-bus dev.geopjr.Tuba (or D-Bus session-bus in flatseal)
I'll see about adding it to the flatpak by default, thanks for the info and debugging!
I haven't gotten any notifications on my account to test yet, but you seemed pretty confident this'd work?
I was wrong
:/ I managed to pinpoint it down to the notifications using custom icons, I need to take a closer look and report it to the responsible library but for now disabling custom notification icons on flatpak will do
Awaiting Flathub release
Originally posted by @GeopJr in https://github.com/GeopJr/Tuba/issues/42#issuecomment-1636363992
Here is a log from 10 hours of usage:
First I opened the app, then closed it. At the end I reopened it, saw there was 1 new notification, navigated to the notifications section, and refreshed it to find more new ones.
At no point did I receive a notification for any of these notifications, despite having Tuba running in the background for 10 hours.