-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Synchronise settings and global "is-powered" state #195
Conversation
Co-authored-by: Leo <lenemter@gmail.com>
Fixing CI ... |
This was found to reintroduce #192 😞 so converted back to draft. I am not sure this PR is essential anyway - manually changing the "bluetooth-enabled" setting is unlikely (and unwise) anyway. |
Need to revert unused change. |
Code looks good, I just need to test! |
@zeebok Thanks for reviewing! Remember that for everything to work properly you need to install the corresponding switchboard plug PR as well 😉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works with the other PR just as advertised. Great work!
Blocking merge until other elementary/switchboard-plug-bluetooth#206 approved - they can then be merged at the same time. |
Oops that is totally my bad, I forgot to approve the other one! Should be all set now! |
After merging this, it is necessary to merge elementary/switchboard-plug-bluetooth#206 to allow switchboard to continue to sync properly.
After merging both PRs, all four switches affecting the Bluetooth power state should remain synchonised and stable.
To test:
Check that changing the Bluetooth enabled state by any of the switches in Wingpanel, Switchboard or
io.elementary.desktop.wingpanel.bluetooth.bluetooth-enabled
results in the other states changing accordingly.Suspend and change the Bluetooth enabled state using the greeter wingpanel. This should operate stably. On reawakening, the changed state should be reflected in the session wingpanel.
Restart and check greeter Bluetooth indicator works as expected