Bug 479867 - Bluetooth device list is shown in the applet on startup even if Bluetooth is disabled
Summary: Bluetooth device list is shown in the applet on startup even if Bluetooth is ...
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Bluetooth widget (show other bugs)
Version: 6.2.4
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-01-15 21:08 UTC by Ilya Bizyaev
Modified: 2024-12-17 21:08 UTC (History)
5 users (show)

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


Attachments
Screenshot of the issue (35.74 KB, image/png)
2024-01-15 21:21 UTC, Ilya Bizyaev
Details
Even if bluetooth is "disabled", the applet still shows the action to add a device (129.76 KB, image/png)
2024-03-09 15:49 UTC, popov895
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Bizyaev 2024-01-15 21:08:03 UTC
SUMMARY

When I log in to the Plasma session, Bluetooth is disabled (even though I've configured it to always be enabled on login through System Settings, but that's for another bug report). In the applet, Bluetooth is shown to be off, but my saved devices are still listed. Clicking “Connect” on any of them creates a push notification saying that “The device is not ready”.

Then I flip the switch to “on” and connect to the devices normally.

Disabling Bluetooth again does make the placeholder screen appear, so the issue only occurs after session startup.

OBSERVED RESULT
A list of my paired devices is shown in the Bluetooth applet when I log into the session, even though Bluetooth is disabled.

EXPECTED RESULT
The placeholder screen is disabled instead of the device list whenever Bluetooth is off.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240111
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 5.249.0
Qt Version: 6.6.1
Kernel Version: 6.6.10-1-default (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Comment 1 Ilya Bizyaev 2024-01-15 21:21:47 UTC
Created attachment 164932 [details]
Screenshot of the issue
Comment 2 Nate Graham 2024-01-18 22:47:41 UTC
When this happens, is Bluetooth in fact disabled? Or is the switch showing the incorrect state, and Bluetooth is actually enabled?
Comment 3 Ilya Bizyaev 2024-01-19 21:21:44 UTC
It is disabled, according to bluetoothctl > "show"
(because of https://bugs.kde.org/show_bug.cgi?id=479868)
Comment 4 popov895 2024-03-09 15:49:07 UTC
Created attachment 166802 [details]
Even if bluetooth is "disabled", the applet still shows the action to add a device

Might be related. Actually, the switch in the header of the applet doesn't disable bluetooth. Here's the output of rfkill after "disabling" bluetooth using this switch:

> $ sudo rfkill list
> 1: tpacpi_bluetooth_sw: Bluetooth
>         Soft blocked: no
>         Hard blocked: no
> 2: hci0: Bluetooth
>         Soft blocked: no
>         Hard blocked: no

It's Neon User Edition, Plasma 6.0.0.