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:

1 Like

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