Incorrect urgency for NetworkManager

Bug #391130 reported by moomex
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Disconnecting from a network usually has a high "urgency" level. However, notify-osd sometimes shows "normal" urgency when disconnecting from a wired network and "low" urgency when connection is established.

But there is a problem with this urgency levels:
When waking up from suspend, the notification appears saying "Disconnected" at exact the time when wireless networking has been connected again. But the notification for "Wlan Connected" appears a lot of time later, because it has low urgency level.

I suggest to make the networking notifications update-able, so that the right status is posted at the right time.
When the connection is established again the "disconnected" notification should update and write "connected" at exact this time.

Revision history for this message
moomex (moomex) wrote :
Revision history for this message
Murat Gunes (mgunes) wrote :

Thanks for reporting. The behavior you've noted is by design [1]; the urgency level should be "urgent" only in the cases where the disconnection leaves you with no active network connections.

As for connecting to a network, "low" is probably justified, since the event is initiated by the user, and thus predictable, as opposed to a disconnection, which may happen without the user's initiative.

[1] https://wiki.ubuntu.com/NotifyOSD#network-manager

Murat Gunes (mgunes)
Changed in notify-osd (Ubuntu):
importance: Undecided → Low
status: New → Invalid
Revision history for this message
Stefan Hammer (j-4-deactivatedaccount) wrote :

But there is a problem with this urgency levels:
When waking up from suspend, the notification appears saying "Disconnected" at exact the time when wireless networking has been connected again. But the notification for "Wlan Connected" appears a lot of time later, because it has low urgency level.

I suggest to make the networking notifications update-able, so that the right status is posted at the right time.
When the connection is established again the "disconnected" notification should update and write "connected" at exact this time.

Thanks,
Jango

Changed in notify-osd (Ubuntu):
status: Invalid → New
Revision history for this message
Mirco Müller (macslow) wrote :

This is actually an issue of network-manager and not notify-osd itself. Reassigned.

affects: notify-osd (Ubuntu) → network-manager (Ubuntu)
description: updated
Revision history for this message
Stefan Hammer (j-4-deactivatedaccount) wrote :
tags: added: notifications
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Fair enough. Is there a way to track notifications sent and update the previous disconnected one, or cancel it to show the connected within a period of time?

Marking Triaged. I think it deserves some improvement, but generally it's still doing the job, and the actual notification urgency levels appear to me as they are fine and definitely make sense for the type and likely cause of the event.

I'll get around to it at some point, but if anyone has time to propose a patch that tries to keep track of notifications and back out of one if it was sent out within a specific period of time preceeding the new notification (something like within the delay for a notif. to fade out maybe?), I'll gladly review it ;)

Changed in network-manager (Ubuntu):
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.