Bug 515204

Summary: After force-stopping the android client it starts to send every new notification twice
Product: [Applications] kdeconnect Reporter: Youssef Al-Bor3y <youssefelboraey02>
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: REPORTED ---    
Severity: major CC: andrew.g.r.holmes
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Android   
OS: Android 13.x   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: an image shows the 2 popups

Description Youssef Al-Bor3y 2026-01-28 14:20:25 UTC
Created attachment 188990 [details]
an image shows the 2 popups

SUMMARY
When i force stop the android client while it's paired and the re-launching it again, it starts to send every new notification twice

STEPS TO REPRODUCE
1. Pair an android device using KDE Connect
2. Force stop the android client
3. Launch it again
4. Send a notification to yourself

OBSERVED RESULT
The notification appears on the other peer twice

EXPECTED RESULT
The notification appear on the other peer once

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22
Qt Version: 6.10.1

ADDITIONAL INFORMATION
This shouldn't happen as Plasma refuses to show 2 notifications with the same exact content, but for some reason it shows them, the 2 popups have the same id, also the second one doesn't have an icon which is expected

> If it's an update, the other end should have the icon already: no need to extract it and create the payload again

Quoted from kdeconnect-android's source code