flathub / com.nextcloud.desktopclient.nextcloud

https://flathub.org/apps/details/com.nextcloud.desktopclient.nextcloud
7 stars 20 forks source link

"App recommendation" notifications #22

Open barnscott opened 4 years ago

barnscott commented 4 years ago

I have identified that this app generates App Recommendation notifications that appear in Gnome Notifications. However, the links are non-functional and do not open Software app, or other page. Upon clicking notification, the notification will simply dismiss itself.

I currently set this app to open at login, so I get these types of notifications each time i login.

Screenshot from 2020-09-23 19-57-00

I identified Nextcloud as the source of these notifications by using "dbus-monitor interface=org.freedesktop.Notifications" as recommended here: https://discussion.fedoraproject.org/t/gnome-notification-panel-bugs/23547/3?u=barn

Snippit of output:

method call time=1600971525.783647 sender=:1.58 -> destination=:1.29 serial=23 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
   string "Nextcloud"
   uint32 0
   string "Nextcloud"
   string "App recommendation: Deck"
   string ""
   array [
   ]
   array [
      dict entry(
         string "desktop-entry"
         variant             string "com.nextcloud.desktopclient.nextcloud"
      )
      dict entry(
         string "sender-pid"
         variant             uint32 3769497
      )
   ]
   int32 -1
method call time=1600971525.784207 sender=:1.58 -> destination=:1.29 serial=24 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
   string "Nextcloud"
   uint32 0
   string "Nextcloud"
   string "App recommendation: Social"
   string ""
   array [
   ]
   array [
      dict entry(
         string "desktop-entry"
         variant             string "com.nextcloud.desktopclient.nextcloud"
      )
      dict entry(
         string "sender-pid"
         variant             uint32 3769497
      )
   ]
   int32 -1
method call time=1600971525.787636 sender=:1.98 -> destination=org.freedesktop.Notifications serial=52 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
   string "Nextcloud"
   uint32 0
   string "Nextcloud"
   string "App recommendation: Group folders"
   string ""
   array [
   ]
   array [
      dict entry(
         string "desktop-entry"
         variant             string "com.nextcloud.desktopclient.nextcloud"
      )
   ]
   int32 -1

Full log: dbus.log

When I go to Gnome Settings > Notifications, I do not see Nextcloud in the app list, so I am not sure how to disable these notifications.

Preferred solution: 1) Clarification on how to disable these notifications. (2) It would also be nice if I could access what the app is recommending.

bkhl commented 3 years ago

I think you should be able to disable this by installing https://flathub.org/apps/details/com.github.tchx84.Flatseal, and then in that program removing the "org.freedesktop.Notifications" name under the "Session Bus" setting for the Nextcloud client.

tilosp commented 3 years ago

@barnscott it should show up in gnome settings, can you check if this is still not showing up in gnome settings at least for me this is working.