https://bugs.kde.org/show_bug.cgi?id=440493

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |5.23
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/bluedevil/commit/6557286
                   |                            |abe4200f72ab6964079d38f7c73
                   |                            |48b13a

--- Comment #11 from Nate Graham <n...@kde.org> ---
Git commit 6557286abe4200f72ab6964079d38f7c7348b13a by Nate Graham.
Committed on 12/08/2021 at 15:50.
Pushed by ngraham into branch 'master'.

Let the user choose Bluetooth status on login

Currently there is no way for the user to choose whether Bluetooth is on
or off at login. Instead, it is decided automatically for them by the
presence or absence of the `AutoEnable=true` key in /etc/bluetooth/main.conf.
This is a root-owned file that does not permit user configuration if it
is shipped by a distro, because it will be blown away on the next system
update.

This commit adds a GUI to allow the user to determine the Bluetooth
status on login: always enabled, always disabled, or remember the
previous status. The default is to remember the previous status, with
the initial status on first boot being determined by the distro's
default value in the /etc/bluetooth/main.conf config file if present; if
not present, bluez's own default value is "disabled". Regardless,
thereafter the enablement status on boot will be determined by Bluedevil.

Implementation-wise, this is accomplished by adding support in the KDED
module for reading a new config file key set by the KCM which controls
what do do with Bluetooth when launched. It already has support for
saving and restoring status when the system goes to sleep and wakes up;
this was extended for shutdown/startup events too.
FIXED-IN: 5.23

M  +30   -0    src/kcm/bluetooth.cpp
M  +7    -0    src/kcm/bluetooth.h
M  +45   -4    src/kcm/package/contents/ui/General.qml
M  +66   -5    src/kded/devicemonitor.cpp
M  +3    -0    src/kded/devicemonitor.h

https://invent.kde.org/plasma/bluedevil/commit/6557286abe4200f72ab6964079d38f7c7348b13a

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to