Bug 506264

Summary: Unclear error message for when trying to connect to a bluetooth peripheral while adapter it's paired to is disabled
Product: [Plasma] plasmashell Reporter: lojcsgit
Component: Bluetooth widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: nate
Priority: NOR Keywords: usability
Version First Reported In: 6.4.80   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description lojcsgit 2025-06-27 12:16:36 UTC
SUMMARY
The bluetooth peripheral list in settings and system tray becomes available if any bluetooth adaper is enabled. However, if there are multiple adapters and the user tries to connect to a peripheral paired with an adapter that’s currenly disabled unclear error messages are shown.

STEPS TO REPRODUCE
1. Connect bluetooth adapter #1 to computer
2. Pair a bluetooth device to it
3. Connect bluetooth adapter #2
4. Disable bluetooth adapter #1
5. Try to connect to the bluetooth device

OBSERVED RESULT
Errors that say "Connection to the device failed" or "Input/output error".

EXPECTED RESULT
The errors should mention that the adapter is currently disabled and it might be possible to connect if the adapter is enabled. Or devices paired with the disabled adapter shouldn't appear on the list.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.1
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.3-arch1-1 (64-bit)

ADDITIONAL INFORMATION
https://discuss.kde.org/t/option-to-automatically-enable-reenable-the-relevant-bluetooth-adapter-based-on-user-input/35974
Comment 1 lojcsgit 2025-06-27 12:42:51 UTC
This could also be solved by automatically or conveniently enabling the adapter https://bugs.kde.org/show_bug.cgi?id=506269