Bug 486640 - Having dual notification player on apps like spotify when playing media
Summary: Having dual notification player on apps like spotify when playing media
Status: RESOLVED WORKSFORME
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (other bugs)
Version First Reported In: unspecified
Platform: Android Android 13.x
: NOR normal
Target Milestone: ---
Assignee: Philip C
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-05 19:19 UTC by A
Modified: 2024-06-28 03:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Video showing the notification player appearing persistently while using spotify (1.53 MB, video/mp4)
2024-05-05 19:25 UTC, A
Details

Note You need to log in before you can comment on or make changes to this bug.
Description A 2024-05-05 19:19:55 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
When playing music or media through apps like spotify, in the device currently using, alongside the stock app music player in notification, KDE Conenct also shows its media player in the notification.

STEPS TO REPRODUCE
1. Open Spotify while KDE Connect has a device connected.
2. Play media.
3. See notificaition panel

OBSERVED RESULT
Now what happens is there are 2 notifications for the same media, same app. And KDE Connect (given how it will always come after the app) will always appear first and the actual app later. This becomes annoying and happens everytime the media is paused/played even if the KDE notification is swiped away.


EXPECTED RESULT
This is supposed to happen when the media is being played on another paired device.
 
SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
A video is attached showing the issue. This is happening on all android devices I have. All are on android 14 if that helps. I used to have another unrelated issue with notification music player. It started right after updating to android 14 on that device. Hope this helps in the debugging.
Comment 1 A 2024-05-05 19:25:45 UTC
Created attachment 169223 [details]
Video showing the notification player appearing persistently while using spotify
Comment 2 Philip C 2024-05-12 19:29:22 UTC
I can't replicate this on two paired Android devices, one running Android 14 ("device A") and one running Android 13 ("device B"). Let me know if I have the exact reproduction steps correct:

Preparation:
1. Ensure KDE Connect is running on both devices
2. Ensure both devices are paired and connected through KDE Connect
3. Ensure spotify app is installed and logged into the same account on both devices
4. Kill (force-stop) spotify app on both devices

Reproduction
1. Open spotify app on device A
2. Start spotify playback on device A, using the app on device A
3. Look at notifications on device A. There is one notification from spotify with media controls, and one notification from KDE Connect saying that device B is connected.
4. Look at notifications on device B. There is one notification from KDE Connect with media controls, and one notification from KDE Connect saying that device A is connected.
5. Open spotify app on device B
6. Look at notifications on device A.  There is no change since step 3.
7. Look at notifications on device B. The KDE Connect notification with media controls has been replaced with a spotify notification with media controls.
Comment 3 Philip C 2024-05-12 19:30:45 UTC
Note: based on discussion on Telegram, the version of KDE Connect Android this was reported on was 1.30.1.
Comment 4 Bug Janitor Service 2024-05-27 03:45:29 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 A 2024-05-29 06:15:35 UTC
(In reply to Philip C from comment #2)
> I can't replicate this on two paired Android devices, one running Android 14
> ("device A") and one running Android 13 ("device B"). Let me know if I have
> the exact reproduction steps correct:
> 
> Preparation:
> 1. Ensure KDE Connect is running on both devices
> 2. Ensure both devices are paired and connected through KDE Connect
> 3. Ensure spotify app is installed and logged into the same account on both
> devices
> 4. Kill (force-stop) spotify app on both devices
> 
> Reproduction
> 1. Open spotify app on device A
> 2. Start spotify playback on device A, using the app on device A
> 3. Look at notifications on device A. There is one notification from spotify
> with media controls, and one notification from KDE Connect saying that
> device B is connected.
> 4. Look at notifications on device B. There is one notification from KDE
> Connect with media controls, and one notification from KDE Connect saying
> that device A is connected.
> 5. Open spotify app on device B
> 6. Look at notifications on device A.  There is no change since step 3.
> 7. Look at notifications on device B. The KDE Connect notification with
> media controls has been replaced with a spotify notification with media
> controls.


Is there a chance repairing the 2 devices might fix this issue? Haven't tried that.
Comment 6 Bug Janitor Service 2024-06-13 03:47:10 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2024-06-28 03:48:02 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!