nm-applet notifications should have more information for disconnected states
Bug #341684 reported by
David Barth
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager-applet (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Alexander,
We would like to display more information to the user to explain the status of its network connection, especially when the connection is dropped.
For example:
* When connection to a wireless network fails for a reason other than incorrect authentication, a notification bubble should appear with disconnected icon, title the name of the wireless network, and body “Connection failed”.
Source: https:/
Can you help us see which part of NM's structure we can use to get access to the reason why a connection was dropped?
Changed in network-manager-applet (Ubuntu): | |
importance: | Undecided → Low |
Changed in network-manager-applet (Ubuntu): | |
status: | Fix Released → Confirmed |
Changed in network-manager-applet (Ubuntu): | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
i think you want to do two things here:
1. add device class information to disconnect notifications
2. notify about special events like "wireless disabled/enabled" or "wireless hardware disabled/enabled"
for 1.:
The notification you see in applet.c that displays a generic icon for disconnect is done when the client state changes to disconnect.
That state refers to the "overall" connectivity state which is why there is no info which type of device you disconnected.
One idea is to track device changes and use the most recently disconnected device to guess the type of notification we want to display.
However, this would make us depend on the order of the notification events, which are on its own not connected - and no guarantees are given about the order (e.g. one time we could get a "wireless device disconnected" event followed by "nm client disconnected", next time it could be in different order).
stacking notifications and modifying them after they appeared might be a solution for that.
... to be continued