Bug 411753

Summary: KDE Connect spams the desktop with a torrent of old notifications.
Product: [Applications] kdeconnect Reporter: leftcrane <leftcrane>
Component: commonAssignee: Michael <Mosleymike31>
Status: CONFIRMED ---    
Severity: major CC: creideiki+kdebugs, duckrinium, fabianroeling, haytham.med, io, jf.mundox, jmprieto, kde.podagric, kde, kousik18, minecraft2048, Mosleymike31, pantokrata2, prettyvanilla, richard.llom, the.neophytes.logs, uwu, web.mseidel
Priority: NOR    
Version: 1.3.5   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=422140
https://bugs.kde.org/show_bug.cgi?id=413015
https://bugs.kde.org/show_bug.cgi?id=429323
https://bugs.kde.org/show_bug.cgi?id=418820
https://bugs.kde.org/show_bug.cgi?id=429721
https://bugs.kde.org/show_bug.cgi?id=434412
https://bugs.kde.org/show_bug.cgi?id=419662
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Fml

Description leftcrane 2019-09-09 13:36:08 UTC
It takes all the unread unread notifications (on Android it could be dozens or even hundreds, depending on how many apps you have) and dumps them on the screen all at once, with each notification being a separate popup. There are so many notifications that the notifications just turn into black rectangles because the shell can't render them all.

It may be worth it to look into just not showing notifications that are older than a few minutes minute. If the user wants to see them, maybe there should be a manual way to bring them up?  

Another idea would be to just enable mirroring of calls and sms by default, and then have the user enable others manually. I think this may be a good idea regardless, since it will prevent users from getting duplicate email, skype etc. notifications if they have the app on both phone and pc.


Maybe Plasma notifications have been revamped in the latest release to guard against this sort of spamming, however this won't fix other desktops where KDEConnect is used.



Either way, I don't think anyone wants their desktop to be completely overwhelmed with dozens of notifications like "Tetris was updated"(yesterday) or "new ways to pay with Samsung"(6 hours ago.
Comment 1 minecraft2048 2019-11-25 09:22:38 UTC
This bug triggers https://bugs.kde.org/show_bug.cgi?id=412865, which means that plasmashell will eat 4GB of memory, making my desktop extremely laggy until I can kill plasmashell
Comment 2 Richard Ullger 2020-01-25 19:16:09 UTC
Confirmed in Arch Linux, kde-unstable repo

If the phone disconnects and reconnects, all notifications are sent again.

In my opinion kdeconnect should only send new notifications since the phone was paired. I can see a complete list of kdeconnect notifications in the system tray.

Operating System: Arch Linux 
KDE Plasma Version: 5.17.90
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.0
Kernel Version: 5.4.14-arch1-1
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5 CPU M 430 @ 2.27GHz
Memory: 7.5 GiB of RAM
Comment 3 Haytham 2020-06-19 19:00:18 UTC
Notifications are frequently resent randomly, so i disabled notifications, i guess only new notifications should be displayed, and displayed once only.
Comment 4 hegemon8 2020-09-13 13:41:13 UTC
On top of re-sending old notifications, when updating apps on the phone with Play Store, I often get notifications on the desktop every 2, 3 seconds with download progress, and every 3 seconds new notification pops up saying the same  app is now 15% download complete, than 18% and so on, constantly stacking up. When getting text message on the phone i get as well 2 notifications, one with my contact picture one without - same message. And if You use some messenger on phone and desktop, and using it on desktop, You still get message notifications from the phone (But that is likely different issue, not directly related to KDEConnect)
Comment 5 Richard Llom 2021-04-12 09:23:47 UTC
Adding some other notification related bugs to "see also".
Comment 6 Tobias Bora 2021-09-01 09:14:41 UTC
*** This bug has been confirmed by popular vote. ***
Comment 7 Michael 2021-10-01 06:30:22 UTC
Created attachment 142053 [details]
Fml
Comment 8 Axel Forsman 2021-10-01 12:35:54 UTC
*** This bug has been confirmed by popular vote. ***
Comment 9 Mikel Pérez 2021-11-14 19:02:08 UTC
to clarify to #1, it doesn't just repeat old already shown by kdeconnect notifications on reconnection, it also randomly (not just when reconnecting but that also triggers it frequently) repeats notifications already cleared on android
Comment 10 Riccardo Robecchi 2023-01-04 11:49:11 UTC
*** Bug 419662 has been marked as a duplicate of this bug. ***
Comment 11 Riccardo Robecchi 2023-01-04 11:49:31 UTC
*** Bug 422140 has been marked as a duplicate of this bug. ***
Comment 12 Fabian 2023-09-03 04:34:57 UTC
This seems to be fixed.. Does it still happen for anyone?
Comment 13 prettyvanilla 2023-09-04 19:20:41 UTC
Yes, I think this was fixed by one of the Android app updates over the last year (or two)? It hasn't happened to me for quite some time now, using the latest version of the app on Android and the Desktop integration on Arch Linux. If someone can pinpoint which version or commit(s) fixed this that would be helpful for reference, but otherwise I believe this can be closed?
Comment 14 Fabian 2023-09-04 19:24:45 UTC
Should be the last Google Play store update before 2023-04-24.
Comment 15 cwo 2024-07-31 23:46:32 UTC
*** Bug 490322 has been marked as a duplicate of this bug. ***