The issue can also be reproduced on my 14.04, by adding some prints in the source code I found it's cause by a logic trap:
1. we click the switch in the u-c-c bt panel to turn on the bt 2. in the widget's "notify::active" callback it set the BT state to unblocked 3. the BT "state-changed" callback is triggered with {state: unblocked, powered: off}, in this callback it will update the UI 4. in such a case step 2 is triggered again but this time it set the BT state to blocked. So after a long repetition the final status is BT is turned off again. Actually I'm wondering if it will run into an endless dead loop under special condition. Anyway in my side I could fix, or maybe only workaround, the issue with the attached patch, it will temporarily block the widget's "notify::active" callback in the bt killswitch callbacks, so we won't run into step 2 after step 3. ** Patch added: "block-power-callback-unless-its-triggered-by-user.patch" https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1248720/+attachment/4306992/+files/block-power-callback-unless-its-triggered-by-user.patch -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-control-center in Ubuntu. https://bugs.launchpad.net/bugs/1248720 Title: Bluetooth ON/OFF button switches OFF automatically To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1248720/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs