Bug 477442 - Bluetooth speaker loses audio after media pause (on Macbook with UE Boom)
Summary: Bluetooth speaker loses audio after media pause (on Macbook with UE Boom)
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Bluetooth in general (show other bugs)
Version: 6.2.4
Platform: unspecified Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-23 23:53 UTC by cipricus
Modified: 2024-12-17 21:19 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cipricus 2023-11-23 23:53:39 UTC
SUMMARY
With Kubuntu 22.04 up to 23.10 (but also for testing purposes with KaOS latest Plasma) on a Macbook Air I have a problem with a UE Boom 2 bluetooth speaker (and then with a Boom 3) which isn't affecting a PC laptop: sound is not heard after media playback is paused for more than a few seconds. I mean that after un-pausing the local or online media player there is no sound or he sound is severely distorted (cracks and pauses as if the signal is lost). - The only fix is to disconnect and reconnect the bluetooth speaker. –Or, in order to avoid this, as a workaround: before pausing, even before playing the file that might be paused, to start in the background, muted, another audio file. - This problem doesn't in fact happen if audio playback is muted, but only if it's paused!


STEPS TO REPRODUCE
1. Connect to the bluetooth speaker through the Plasma bluetooth tool
2. play an audio stream (or video+audio file) – no mater the program – through the BT device
3. pause the playback for more than a few seconds (let’s say 10-15 seconds)

OBSERVED RESULT
The sound is not heard or is totally distorted (cracking sounds with long pauses). In order to fix this, the BT device has to be disconnected and reconnected.

This can be fixed by installing `blueman`, starting and keeping `blueman-manager` running. (`blueman-manager` process is stopped by closing its window: and clicking the `blueman-tray` button also closes the `blueman-manager` window and thus the process! - The method I use to hide `blueman-manager` window without killing the `blueman-manager` is to dock it to tray with `kdocker`). 
If `blueman-manager` window is not closed (including by clicking its tray button) but simply ‘docked’ with kdocker program, the `blueman-manager` keeps running and the problem is gone: the audio can be paused/unpaused without the BT speaker losing sound. (But oddly, closing `blueman-tray` (right-click its icon and select Exit) doesn't kill `blueman-manager`, but left-clicking it does, even if `blueman-manager` is already docked. I have to avoid that to fix this.) `blueman-manager` is the only process needed to solve the problem, while `blueman-applet` and `blueman-tray` may be closed if necessary

EXPECTED RESULT
The audio sound should continue normally when un-paused (without running `blueman-manager`).
Bluedevil should be able to do by itself that which in case is achieved only by `blueman-manager`.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: whatever that was in Kubuntu 22.04, Plasma 5.27.8 in Kubuntu 23.10, also 5.27.9 in Kaos
(available in About System)
Comment 1 cipricus 2023-11-24 08:41:30 UTC
UPDATE: 

This is limited to some BT speakers, maybe just to UE Boom 2 and 3. Beside BT ear-phones,there are some external BT speakers (tested: Jabra Speaker) that are not affected.
Comment 2 cipricus 2023-11-24 15:05:17 UTC
More testing: a video projector with BT speaker is not affected either.
Comment 3 Nate Graham 2023-11-25 15:16:35 UTC
For context: https://discuss.kde.org/t/what-is-the-plasma-bluetooth-tool/7628/4