Bug 433232 - Bluetooth: checkbox to disable Bluetooth cannot be used to enable it
Summary: Bluetooth: checkbox to disable Bluetooth cannot be used to enable it
Status: RESOLVED FIXED
Alias: None
Product: Bluedevil
Classification: Plasma
Component: system tray (show other bugs)
Version: 5.21.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konrad Materka
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-02-19 09:20 UTC by tguen
Modified: 2021-03-07 13:41 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.21.3


Attachments
bluetooth disabled in system tray (69.01 KB, image/png)
2021-02-19 20:49 UTC, tguen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tguen 2021-02-19 09:20:59 UTC
SUMMARY
The Bluetooth menu in the system tray has a checkbox in the top left corner. When clicked, it will disable Bluetooth, but the checkbox is also disabled so that it can't be used to re-enable Bluetooth. There is an "Enable Bluetooth" button in the center of the menu, but this should not be needed.


KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-02-19 18:02:20 UTC
Can you attach a screenshot or a screen recording please? In Plasma 5.21, the whole row with the checkbox on it is supposed to disappear when Bluetooth is disabled. It does for me.
Comment 2 tguen 2021-02-19 20:49:46 UTC
Created attachment 135917 [details]
bluetooth disabled in system tray

It doesn't disappear for me. If the checkbox is not meant to be used to enable Bluetooth, it is functionally a button and should probably be replaced with one. Either way, I'd prefer if I could enable Bluetooth by clicking in the same place I did to disable it.
Comment 3 Nate Graham 2021-02-19 22:19:05 UTC
Well now I'm confused because it doesn't look like that for me in Plasma 5.21. :(
Comment 4 Konrad Materka 2021-02-28 19:37:22 UTC
Nate, are you sure? I just checked on latest git version and it looks for me exactly the same as on the screenshot.

Maybe you don't have any Bluetooth adapters?

visible: btManager.adapters.length > 0
enabled: !btManager.bluetoothBlocked
Comment 5 Nate Graham 2021-02-28 21:17:32 UTC
Ohh right, my computer reports "Bluetooth is turned off" as "there are no Bluetooth adapters." I forgot about that.
Comment 6 Bug Janitor Service 2021-03-07 12:07:27 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/bluedevil/-/merge_requests/35
Comment 7 Konrad Materka 2021-03-07 13:39:26 UTC
Git commit 67134d9a8a8cd33a6085cc1d9bbc615adfdfe954 by Konrad Materka.
Committed on 07/03/2021 at 12:04.
Pushed by kmaterka into branch 'master'.

[applet] Enable Bluetooth checkbox should be always enabled

The Bluetooth menu in the system tray has a checkbox in the top left corner. When clicked, it will disable Bluetooth, but the checkbox is also disabled so that it can't be used to re-enable Bluetooth.
FIXED-IN: 5.22.0

M  +0    -1    src/applet/package/contents/ui/FullRepresentation.qml
M  +1    -0    src/applet/package/contents/ui/Toolbar.qml

https://invent.kde.org/plasma/bluedevil/commit/67134d9a8a8cd33a6085cc1d9bbc615adfdfe954
Comment 8 Konrad Materka 2021-03-07 13:41:06 UTC
Git commit 4b4b0dd119b7bff79ece33bb253d746660cdb936 by Konrad Materka.
Committed on 07/03/2021 at 13:40.
Pushed by kmaterka into branch 'Plasma/5.21'.

[applet] Enable Bluetooth checkbox should be always enabled

The Bluetooth menu in the system tray has a checkbox in the top left corner. When clicked, it will disable Bluetooth, but the checkbox is also disabled so that it can't be used to re-enable Bluetooth.
FIXED-IN: 5.21.3

M  +0    -1    src/applet/package/contents/ui/FullRepresentation.qml
M  +1    -0    src/applet/package/contents/ui/Toolbar.qml

https://invent.kde.org/plasma/bluedevil/commit/4b4b0dd119b7bff79ece33bb253d746660cdb936