Closing inactive app disconnects Bluetooth

REPRODUCIBILITY: >80%
OS VERSION: 4.4.0.64
HARDWARE: Xperia 10 III
UI LANGUAGE: Swedish
REGRESSION: Not recently anyway

DESCRIPTION:

When closing an app that was previously playing audio over Bluetooth, it takes the connection with it, pausing currently playing audio, and then routing it to speaker if it is resumed.

PRECONDITIONS:

Have Bluetooth headphones connected.

STEPS TO REPRODUCE:

  1. Listen to audio from app A over Bluetooth (still over Bluetooth headphones).
  2. Switch to listening to audio from app B.
  3. Close app A.

Examples for A and B can be S’Play and jolla-mediaplayer, or jolla-mediaplayer and Browser, so it doesn’t seem to be very app-specific.

EXPECTED RESULT:

Sound keeps playing over headphones.

ACTUAL RESULT:

Playback is paused (might depend on application), and when resumed goes to speakers.

MODIFICATIONS:

None

ADDITIONAL INFORMATION:

Possibly the same root cause:

2 Likes

Yes! I see exactly what you mean. On my side, it’s happen sometimes when I launch a podcast from Podcatcher.

1 Like

It could be nice to always save all logs of following services:

  • audiosystem-passthrough-dummy-af.service
  • bluebinder.service
  • bluetooth.service
  • alienaudio.service
  • mpris-proxy.service

And once the bug appears again, share result here. Not sure to have the time to develop something, but let’s see. I’ll create a new topic in this case.

Honestly, i think this reproduces so easily and widely that me taking logs doesn’t really add much. Or doesn’t it reproduce readily for you?

I got it!
I know how to alwasy reproduce it using Podcatcher.

Steps To Reproduce

  • Enable Bluetooth
  • Connect to a device
  • Open Podcatcher
  • Add a new podcast. For instance: Rhinoféroce - Couleur3
  • Download a single podcast
  • Play downloaded file with jolla-mediaplayer
  • Minimize jolla-mediaplayer
  • While you’re listening to good music, close Podcatcher
  • Bluetooth connexion is over
  • From Home, start music again → Sound is resumed and goes to speakers

Easier way to reproduce it:

  • Enable Bluetooth
  • Connect to a device
  • Open file manager
  • Open an audio file
  • Listen to music
  • Close file manager
  • Close jolla-mediaplayer
  • Open jolla-mediaplayer
  • Click on a music
  • Sound goes to speakers

Some logs when I close jolla-mediaplayer:

Thanks for the report @attah, and for the really nice instructions for reproducing it @pherjung. I’ve created an internal report and tagged it as tracked.

Unfortunately the link to yours logs at PasteChaprilOrg seems to have expired. Would you be able to post them again please @pherjung, so I can make a copy on our internal bug database?

1 Like