Thanks, confirmed, the settings code does
" if (Qt.application.state === Qt.ApplicationSuspended) {
backend.trySetDiscoverable(false)
}"
which is what http://doc.qt.io/qt-5/qml-qtqml-qt.html documents
"Qt.ApplicationSuspended - The application is suspended and not visible
to the user. On mobile platforms, the application typically enters this
state when the user returns to the home screen or switches to another
application."
or it seems that when switching to something else we get
Qt.ApplicationInactive instead, we could probably set the discoverable
to false for any of those but still the state seems buggy, a platform or
sdk issue?
** Changed in: ubuntu-system-settings (Ubuntu)
Importance: Low => High
** Changed in: ubuntu-system-settings (Ubuntu)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1482235
Title:
[Bluetooth] Device is still active with settings in background
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1482235/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs