Bug 428715 - KDE Connect will forward its own notification
Summary: KDE Connect will forward its own notification
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-05 07:24 UTC by samor98875
Modified: 2021-02-26 15:30 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description samor98875 2020-11-05 07:24:20 UTC
SUMMARY

KDE Connect will mirror its own notifications on the desktop. For instance, if I play music, KDE Connect will mirror the media control notification to desktop. This happens with other notifications too like sending files.

STEPS TO REPRODUCE
1. Send a file from android to desktop

OBSERVED RESULT

KDE Connect will mirror its own notification (file sent successfully) on the desktop 

EXPECTED RESULT

KDE Connect won't mirror its own notification (file sent successfully) on the desktop 

SOFTWARE/OS 

I tested this with the latest gsconnect, but the developer said it's an upstream issue.

ADDITIONAL INFORMATION
Comment 1 marc.castells.guell 2020-11-06 09:33:41 UTC
Can confirm it's also happening on my setup.

I use KDE Neon 20.04 and android 10 with kde connect version 1.15.1, installed through F-Droid
Comment 2 wereii 2020-11-21 17:07:14 UTC
This fixed it for me:

Open KDE Connect app on your mobile, 
go to settings (three dots in upper right corner) 
-> Plugin settings 
-> directly tap "Notification sync", which will show you your apps and allows setting for which apps should the notifications be synced/sent to computer
-> search for KDE Connect app itself and unselect it

Please report if it still happens after this.
Comment 3 marc.castells.guell 2020-11-23 11:31:42 UTC
Unselecting kde connect on settings works, but maybe it should be unselected by default
Comment 4 wereii 2020-11-24 12:37:24 UTC
It indeed should be.

https://invent.kde.org/network/kdeconnect-android/-/merge_requests/218
Comment 5 Nicolas Fella 2020-12-07 19:52:13 UTC
Git commit f6ca187fb214989b3cdcf092c3f2a7aede28d653 by Nicolas Fella.
Committed on 07/12/2020 at 19:51.
Pushed by nicolasfella into branch 'master'.

Fix not sending our own notification

This got broken during some MMS work.
Related: bug 428754

M  +2    -8    src/org/kde/kdeconnect/Plugins/NotificationsPlugin/NotificationsPlugin.java

https://invent.kde.org/network/kdeconnect-android/commit/f6ca187fb214989b3cdcf092c3f2a7aede28d653
Comment 6 Maximilian Böhm 2021-01-17 23:28:28 UTC
Still experiencing this bug with recent versions of KDE Connect on Plasma (Arch) + Android (F-Droid store). When will the fix be in a released version?
Comment 7 Maximilian Böhm 2021-02-26 15:30:54 UTC
My fault, F-Droid did not show me the January release 1.16.0.