Public bug reported:

Every time the bluetooth page is opened the UbuntuBluetoothPanel
component is instantiated which in turn creates a new AgentAdaptor
instance which tries to register the agent with BlueZ. However when the
Bluetooth page is reopened we get

2015-07-31 11:46:16,074 - WARNING - Error registering agent for the
default adapter: QDBusError("org.bluez.Error.AlreadyExists", "Already
Exists")

This doesn't matter at the moment because the disconnection detection in
BlueZ seems to be also broken so as long as we register the agent object
again on next object creation under the same path everything is fine.

However we should cleanly unregister our agent once we drop out of the
Bluetooth page or register the agent globally so it keeps alive also
when the Bluetooth page is closed if that is intended.

** Affects: ubuntu-system-settings (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1480276

Title:
  Bluetooth plugin tries to register BlueZ agent twice

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1480276/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to