Bug 510160

Summary: KDE Connect shows duplicate and already-dismissed notifications
Product: [Applications] kdeconnect Reporter: Riccardo Robecchi <sephiroth_pk>
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED FIXED    
Severity: normal CC: andrew.g.r.holmes, cerialphreak, hayden, l33tmmx, satsea388
Priority: NOR    
Version First Reported In: 25.08.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of the issue

Description Riccardo Robecchi 2025-10-02 10:00:31 UTC
SUMMARY
After updating to version 1.33.5 from the Play Store, KDE Connect has started sending duplicate notifications to the computer. It also started sending notifications which had already been dismissed before connecting to the computer (e.g. because the computer was suspended).
The duplicate notifications have no icon nor application name.

STEPS TO REPRODUCE
1. Receive a notification on your phone

OBSERVED RESULT
The computer displays the notification twice; it displays notifications which had already been dismissed if the connection wasn't active at the time.

EXPECTED RESULT
The computer does not display notifications twice and it does not display notifications which had already been dismissed.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2

ADDITIONAL INFORMATION
The behaviour arose after the update to version 1.33.5; the previous version worked without issues. No changes were made on the computer.
Comment 1 Riccardo Robecchi 2025-10-02 11:21:26 UTC
Created attachment 185445 [details]
Screenshot of the issue

Here is a screenshot of the issue. One notification, which I assume is the duplicate one, has the standard KDE Connect icon, whereas the other one has the same icon as on the phone.
Comment 2 CerialPhreak 2025-10-02 14:24:17 UTC
Seeing identical behavior on Debian Trixie:

KDE Connect (Android): 1.33.5
Plasma version: 6.3.6
Frameworks version: 6.13.0
Qt version: 6.8.2
Comment 3 Hayden Schiff 2025-10-03 00:55:36 UTC
Also have started having this issue. Exact same behavior where there's one notification with an image and one without.

KDE Connect (Android): 1.33.5
KDE Connect (PC): 25.08.1

Arch Linux (Wayland)
KDE Frameworks: 6.18.0
Qt: Using 6.9.2 and built against 6.9.2
Unknown/Default
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.16.8-arch3-1
Comment 4 l33tmmx 2025-10-03 05:38:29 UTC
I can confirm that issue. It started after updating the android app to version 1.33.5. Versions 1.33.4 and earlier worked fine
Comment 5 Albert Vaca Cintora 2025-10-04 20:04:59 UTC
Git commit fa7f02dd6a393fd863ba2e99e3aa0d82987266ce by Albert Vaca Cintora.
Committed on 04/10/2025 at 19:51.
Pushed by albertvaka into branch 'master'.

Fix creating plugins more than once

M  +5    -0    src/org/kde/kdeconnect/Device.kt

https://invent.kde.org/network/kdeconnect-android/-/commit/fa7f02dd6a393fd863ba2e99e3aa0d82987266ce
Comment 6 Albert Vaca Cintora 2025-10-04 20:06:00 UTC
Sorry for breaking this, a new version is on the way!
Comment 7 CerialPhreak 2025-10-04 20:07:24 UTC
(In reply to Albert Vaca Cintora from comment #6)
> Sorry for breaking this, a new version is on the way!

Thank you!
Comment 8 Albert Vaca Cintora 2025-10-04 20:20:36 UTC
Git commit 40411e5429ce5b63d78c2b70e22777dcd0907235 by Albert Vaca Cintora.
Committed on 04/10/2025 at 20:10.
Pushed by albertvaka into branch 'master'.

Properly fix the condition for newPlugin

M  +2    -1    src/org/kde/kdeconnect/Device.kt

https://invent.kde.org/network/kdeconnect-android/-/commit/40411e5429ce5b63d78c2b70e22777dcd0907235
Comment 9 Riccardo Robecchi 2025-10-06 07:49:03 UTC
(In reply to Albert Vaca Cintora from comment #6)
> Sorry for breaking this, a new version is on the way!

Nothing to be sorry about. On the other hand, thanks for fixing it!