applications-menu
applications-menu copied to clipboard
Slinshot view interferes with bluetooth plug
When the bluetooth switchboard plug is shown and bluetooth powered on, the discoverability oscillates on and off. By a process of elimination, this was tracked down to the application launcher in wingpanel. If (and only if) this is disabled then bluetooth is stable.
I had some left over debug statements in the bluetooth plug and noticed while developing on the applications menu those statements where consistently called when opening the applications menu. Maybe because the switchboard-plugin in the application menu uses the bluetooth plug something is called and that causes interference?
@peteruithoven I'm almost sure that this is probably those lines: https://github.com/elementary/switchboard-plug-bluetooth/blob/master/src/Plug.vala#L34
This shouldn't happen in the constructor at all, or at least should be initialized statically. A problem here will be that this code has to be there for plug to be dynamically shown in Switchboard.
Maybe the plug could receive some kind of argument, so it doesn't initialize the manager for the application-menu?
@peteruithoven the problem with this is that plug construction definition is fixed, you can't add new arguments to the constructor, ATM I can't think of how I would approach this.