Bug 441160

Summary: Recursive notifications
Product: [Applications] kdeconnect Reporter: netherquark
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 0.4.2   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description netherquark 2021-08-19 09:48:49 UTC
SUMMARY
    KDE Connect creates a recursive loop of notifications
This issue is using GSConnect, but it is platform agnostic, so I am creating an issue here.

    Whenever I get a notification on my desktop, like "Discord: phantom_bug sent you a message", the notification is mirrored on my phone. But, then, KDE Connect mirrors its own notifications. This means, on my desktop, I see "Discord: phantom_bug sent you a message", and "KDE Connect: Discord: phantom_bug sent you a message". Ocassionally, GSConnect/KDE Connect on PC mirrors this notification to my phone too, which repeats the whole loop. In my opinion, the easiest fix for this is to blacklist the app from the notification plugin by default, on both Android and the desktop version.

STEPS TO REPRODUCE
1. Setup KDE Connect using Android + any Linux distro with GNOME

OBSERVED RESULT
Inception of sorts.

SOFTWARE/OS VERSIONS
Phone: Xiaomi Redmi Note 9 Pro(A11)
       Latest version of KDE Connect (from Google Play)
Device: Desktop running Manjaro (5.10.59-1-MANJARO)(GNOME 40.3)
        Latest version of GSConnect (from extensions.gnome.org)
Comment 1 netherquark 2021-08-20 09:53:21 UTC
I also created the same issue in the GSConnect GitHub repo, which can be viewed here:
https://github.com/GSConnect/gnome-shell-extension-gsconnect/issues/1156