Closed danirabbit closed 3 years ago
As an occasional VPN user, it would be useful to have a specific message with "failed to connect to VPN" as this happens after the connection to network.
@tintou Yeah I think there’s probably a better way to get the device type though and not conflate with state like we’re doing here. My eventual goal is to use NM.DeviceState like in Switchboard
@danrabbit Is it your intention that this PR should merged and Corentin's issue dealt with in a later PR?
@jeremypw it sounds like Corentin is looking for a new feature and not that this branch would break an existing feature. So yes I think that would be better to move towards separating device type from state as using state directly from NM
CONNECTED_WIFI
andDISCONNECTED_WIRED
are never setFAILED_WIRED
andFAILED_VPN