Bug 485521

Summary: System tray indicator lost when Bluetooth devices connected
Product: [Unmaintained] Bluedevil Reporter: Guo Yunhe <i>
Component: system trayAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: me
Priority: NOR    
Version First Reported In: 6.0.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: system tray screenshot when bluetooth headset is connected

Description Guo Yunhe 2024-04-14 03:20:21 UTC
Created attachment 168497 [details]
system tray screenshot when bluetooth headset is connected

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
There used to be ... indicator in system tray icon when Bluetooth devices are connected. But now it is gone.

STEPS TO REPRODUCE
1. Enable Bluetooth
2. Connect to Bluetooth devices
3. Open Bluetooth system tray

OBSERVED RESULT
The tray icon doesn't have ... anymore, to indicate devices are connected. Open the device list, connected devices don't have a background or bold font to indicate it is connected.

EXPECTED RESULT
Just what it used to be, tray icon has ... when connected. Connected device show a blue background or bold font.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240412
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.7.0
Kernel Version: 6.8.5-1-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C94
System Version: 1.0

ADDITIONAL INFORMATION
Comment 1 Guo Yunhe 2024-04-14 10:02:47 UTC
Update: this bug only happens when paired devices auto connect (auto-connected devices cannot be disconnected either!). When manually connect a device, everything works fine.
Comment 2 Guo Yunhe 2024-04-14 10:13:43 UTC
Seems a bluez bug, when using bluetoothctl info command, it also shows that devices are not connected:

bluetoothctl info 64:68:76:1C:E3:67
Device 64:68:76:1C:E3:67 (public)
        Name: 漫步者•花再 Free Pro
        Alias: 漫步者•花再 Free Pro
        Class: 0x00240404 (2360324)
        Icon: audio-headset
        Paired: yes
        Bonded: yes
        Trusted: yes
        Blocked: no
        Connected: no
        LegacyPairing: no
        UUID: SDP                       (00000001-0000-1000-8000-00805f9b34fb)
        UUID: Serial Port               (00001101-0000-1000-8000-00805f9b34fb)
        UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
        UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control Cont.. (0000110f-0000-1000-8000-00805f9b34fb)
        UUID: Handsfree                 (0000111e-0000-1000-8000-00805f9b34fb)
        UUID: Generic Audio             (00001203-0000-1000-8000-00805f9b34fb)
        UUID: Vendor specific           (66666666-6666-6666-6666-666666666666)
        UUID: Vendor specific           (edf00000-edfe-dfed-fedf-edfedfedfedf)
        Battery Percentage: 0x32 (50)