Bug 473845 - Registered Headphones connect even with disabled bluetooth button
Summary: Registered Headphones connect even with disabled bluetooth button
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Bluetooth in general (other bugs)
Version First Reported In: 6.2.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-28 11:15 UTC by Henning
Modified: 2024-12-18 20:50 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henning 2023-08-28 11:15:28 UTC
I have paired my headphones with the PC and phone. I use them with the Phone and on the Laptop the GUI Bluetooth switch in the system tray is off.

In Plasma I have set the soundsource of the headset to be the main one (as otherwise when connected it doesnt use it).

Now I have the bluetooth switch off, the soundsource was registered and enabled as default, but bluetooth should be off.

But anyways my Laptop paires with the Headphone.

What should happen?
When the switch is off, Bluetooth should be off, thats it. Not in energysave mode or anything but off. I guess it only paires with registered devices, but it has to search and this could be an unnecessary and uncontrollable security risk.
In the past I used a custom desktop entry do disable the systemd service, but this is not a good replacement as it also needs sudo or pkexec.

pkexec systemctl disable bluetooth.service
sudo systemctl disable bluetooth.service


Note: these are Sennheiser PXC550-II, that allow multiple devices to pair.

Specified App:
bluedevil-5.27.7-1.fc38.x86_64
NetworkManager-bluetooth-1.42.8-1.fc38.x86_64

--- Software ---
OS: Fedora Linux 38.20230828.0 (Kinoite)
KDE Plasma: 5.27.7
KDE Frameworks: 5.109.0
Qt: 5.15.10
Kernel: 6.4.12-200.fc38.x86_64
Compositor: wayland

--- Hardware ---
CPU: AMD Ryzen 5 PRO 3500U w/ Radeon Vega Mobile Gfx
RAM: 13.5 GB
GPU: AMD Radeon Vega 8 Graphics
Video memory: 2048MB
Audio: Pipewire
Comment 1 TraceyC 2024-12-18 20:50:07 UTC
Thanks for the bug report. There have been many improvements since this bug report was opened. It appears this bug was fixed. I verified this on my system. It's noteworthy that the underlying sound system is now pipewire, and the sound device UI has been updated. Sound device switching is a lot more intelligent now, especially when a bluetooth headset turns on.

Here's what happens on my system
1. I have a pair of audio buds paired to my laptop and my phone with bluetooth
2. There is no more "default" sound device in Plasma 6. I started with the earbuds connected to both devices.
3. I powered off the buds and switched bluetooth off on the lapto
4. After taking the buds out of their case, and they powered on, bluetooth was still disabled on the laptop

Also, If I'm playing audio through the laptop speakers, and turn on the earbuds, audio switches to them.

If you still have an issue, please open a new bug report, thanks.