When integrating with platform connectivity goo (which can currently only be done by embedding MC in a deprecated way, but whatever), there's no way for connectivity plugins to distinguish between a user-initiated connection and an automatic reconnection. The referenced branch is a proof-of-concept and hasn't yet been tested properly.
Looks reasonable.
Fixed in git for 5.8.0, 5.9.1
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.