GNOME Bugzilla – Bug 749140
Power panel displays Bluetooth toggle when there is no bluetooth adapter
Last modified: 2015-05-15 15:32:56 UTC
In a VM, with no bluetooth adapter connected, the Power panel in gnome-control-center shows a toggle for Bluetooth (set to ON by default). The Bluetooth panel correctly says 'No Bluetooth adapters found' and has its toggle greyed out. I note https://bugzilla.gnome.org/show_bug.cgi?id=738509 claiming to fix this, but apparently either it didn't, or it's regressed. This is with control-center-3.16.1-1.fc22.x86_64 on F22 Final TC3.
What's the output of: gdbus introspect --session --dest org.gnome.SettingsDaemon.Rfkill --object-path /org/gnome/SettingsDaemon/Rfkill and: rfkill list On that system? (In reply to Adam Williamson from comment #0) > In a VM, with no bluetooth adapter connected, the Power panel in > gnome-control-center shows a toggle for Bluetooth (set to ON by default). > The Bluetooth panel correctly says 'No Bluetooth adapters found' and has its > toggle greyed out. > > I note https://bugzilla.gnome.org/show_bug.cgi?id=738509 claiming to fix > this, but apparently either it didn't, or it's regressed. Claiming to fix this? It never did. The bug fix in that bug only affects non-Linux systems where gnome-control-center is built without Bluetooth support.
[liveuser@localhost ~]$ gdbus introspect --session --dest org.gnome.SettingsDaemon.Rfkill --object-path /org/gnome/SettingsDaemon/Rfkill node /org/gnome/SettingsDaemon/Rfkill { interface org.freedesktop.DBus.Properties { methods: Get(in s interface_name, in s property_name, out v value); GetAll(in s interface_name, out a{sv} properties); Set(in s interface_name, in s property_name, in v value); signals: PropertiesChanged(s interface_name, a{sv} changed_properties, as invalidated_properties); properties: }; interface org.freedesktop.DBus.Introspectable { methods: Introspect(out s xml_data); signals: properties: }; interface org.freedesktop.DBus.Peer { methods: Ping(); GetMachineId(out s machine_uuid); signals: properties: }; @org.freedesktop.DBus.GLib.CSymbol("gsd_rfkill_manager") interface org.gnome.SettingsDaemon.Rfkill { methods: signals: properties: readwrite b AirplaneMode = false; readonly b HardwareAirplaneMode = false; readonly b HasAirplaneMode = false; readonly b ShouldShowAirplaneMode = false; readwrite b BluetoothAirplaneMode = false; readonly b BluetoothHardwareAirplaneMode = false; readonly b BluetoothHasAirplaneMode = false; }; };
[root@localhost liveuser]# rfkill list [root@localhost liveuser]#
Created attachment 303297 [details] [review] power: Hide Bluetooth power section when w/o BT When a Bluetooth airplane mode isn't available (whether hardware or software) it means there are no Bluetooth adapters, even turned off. Hide the Bluetooth section in that case.\
Review of attachment 303297 [details] [review]: looks fine
Created attachment 303431 [details] [review] power: Hide Bluetooth power section when w/o BT When a Bluetooth airplane mode isn't available (whether hardware or software) it means there are no Bluetooth adapters, even turned off. Hide the Bluetooth section in that case.\
Attachment 303431 [details] pushed as 86374b2 - power: Hide Bluetooth power section when w/o BT