Bug 456308 - Bluetooth applet sometimes doesn't appear in the system tray after rebooting
Summary: Bluetooth applet sometimes doesn't appear in the system tray after rebooting
Status: RESOLVED WORKSFORME
Alias: None
Product: Bluedevil
Classification: Unmaintained
Component: system tray (other bugs)
Version First Reported In: 5.25.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-04 08:56 UTC by popov895
Modified: 2022-08-18 08:11 UTC (History)
5 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 popov895 2022-07-04 08:56:21 UTC
SUMMARY

I have a Thinkpad and I use TLP due to the ability to change the battery thresholds and recalibration. Additionally, I enable the RESTORE_DEVICE_STATE_ON_STARTUP [1] option so that the state of the radio devices remains persistent between reboots. Unfortunately, after enabling this option, the Bluetooth applet sometimes doesn't appear in the system tray immediately after rebooting (as well as the "Enable" button in the Bluetooth KCM). To fix this, I have to enable Bluetooth with `rfkill unblock bluetooth` or `bluetooth on` [2] commands.

[1] https://linrunner.de/tlp/settings/radio.html
[2] https://linrunner.de/tlp/usage/radio.html

SOFTWARE/OS VERSIONS

Operating System: openSUSE Tumbleweed 20220702
KDE Plasma Version: 5.25.2
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5
Kernel Version: 5.18.6-1-default (64-bit)
Graphics Platform: X11
TLP Version: 1.5.0
Comment 1 Nate Graham 2022-07-05 17:53:20 UTC
This sounds like it's a TLP problem. TLP is failing to unblock or un-rfkill it. If the problem goes away when tlp is disabled, this is something that needs to be fixed with TLP or its configuration, not any KDE code.
Comment 2 popov895 2022-07-05 20:18:23 UTC
Yes, it works fine without TLP, but I'm not sure it's a TLP problem. With this option enabled, TLP properly saves/restores the state of the radio devices, but it seems that Bluedevil (or whatever) thinks there are no Bluetooth devices available.
Comment 3 popov895 2022-07-06 09:27:32 UTC
Hmm, this happens to me even if TLP is removed. So it's not TLP problem.
Comment 4 Nate Graham 2022-07-06 15:31:31 UTC
Weird.
Comment 5 popov895 2022-08-18 08:11:16 UTC
Can't reproduce anymore.