Open danialbehzadi opened 9 months ago
Thanks for the info!
gsettings get dev.geopjr.Tuba muted-notification-types []
means that it never got saved - that's why it doesn't work (the expected result would be ['favourite']
). In combination with the gfile errors on start, I suspect it has something to do with the host / Droidian, I'll setup a vm and investigate it further
if it helps, the mute works if I quickly open the preferences window and switch the category off before the posts appear on the app.
I suspect it has something to do with the host / Droidian
Hi, I just wanted to quickly add that I observe the same behavior on two setups, both using Fedora 40 and the Flatpak from Flathub.
I still can't reproduce it but I do have a guess, but first of all, please run:
$ flatpak run --command=sh dev.geopjr.Tuba
[📦 dev.geopjr.Tuba ~]$ gsettings get dev.geopjr.Tuba.Account:/dev/geopjr/Tuba/accounts/$(gsettings get dev.geopjr.Tuba active-account | tr -d \')/ muted-notification-types
[📦 dev.geopjr.Tuba ~]$ gsettings get dev.geopjr.Tuba work-in-background
If it's an empty array, my guess is that Tuba either gets killed rather than close normally and the settings are never saved (they get saved only on shutdown) or if work-in-background is true, it never gets the chance to shutdown
If my speculation is correct, I'll just make it save on window close instead of shutdown
Oh, actually this works for me - I get
['favourite']
false
and when restarting the app the settings is remembered. It just doesn't seem to have any effect - all notifications still show up under "Notifications", trigger the "unread" sysmbol, etc. Even after refreshing the page, restarting the app etc. And favourites clutter the page quite a bit :/
Oh I see what you mean now! Not sure if the OP is about this too and I misunderstood:
The setting is about Push notifications only / desktop notifications. NOT the notifications tab. That tab needs a refactoring anyway with the new 'notification requests' on the next mastodon version. There's #167, I'll prioritize it for the next minor!
Oh, I already wondered about that :D Thanks a lot, much appreciated!
No. I was about the desktop notifications. However I fixed this by manually setting the gsettings key inside AND outside of the container.
Describe the bug
As discussed in #684, muting a notification type in preferences, does nothing.
Yes. Tested multiple times
Steps To Reproduce
favorites
switch off.Logs and/or Screenshots
Instance Backend
Mastodon
Operating System
Debian 13 (Droidian)
Package
Flatpak
Troubleshooting information
os: GNOME 45 (Flatpak runtime) prefix: /app flatpak: true version: 0.5.0 (production) gtk: 4.12.3 (4.12.1) libadwaita: 1.4.0 (1.4.0) libsoup: 3.4.3 (3.4.3) libgtksourceview: 5.10.0 (5.10.0)
Additional Context
No response