After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 682085 - Bluetooth applet should remember killswitch state across reboots
Bluetooth applet should remember killswitch state across reboots
Status: RESOLVED DUPLICATE of bug 638117
Product: gnome-bluetooth
Classification: Core
Component: applet
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-bluetooth-general-maint@gnome.bugs
gnome-bluetooth-general-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2012-08-17 11:38 UTC by Giovanni Campagna
Modified: 2012-08-17 12:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Giovanni Campagna 2012-08-17 11:38:33 UTC
The summary has the bug, from the user perspective. The reality is that bluetoothd already has code to remember the powered state of the adapters, but we're overriding it from the session, and talking to /dev/rfkill directly.

My idea thus is to add a bluetooth_applet_is_device_powered() / bluetooth_applet_set_device_powered(), and have the shell switch affect that.
BluetoothKillswitch would stay, but only for reading and unblocking (in particular for exposing the hard blocked state).

I'm not yet preparing a patch, because I'm not sure this makes any sense, and surely you know better.
Comment 1 Bastien Nocera 2012-08-17 12:40:57 UTC
The state should be remembered system-wide, not through the session. In any case, this would be a dupe.

*** This bug has been marked as a duplicate of bug 638117 ***