Merge lp://staging/~tkluck/ubuntu/precise/gnome-shell/lp883443 into lp://staging/ubuntu/precise/gnome-shell

Proposed by Timo Kluck
Status: Work in progress
Proposed branch: lp://staging/~tkluck/ubuntu/precise/gnome-shell/lp883443
Merge into: lp://staging/ubuntu/precise/gnome-shell
Diff against target: 100 lines (+46/-3)
5 files modified
.pc/applied-patches (+1/-0)
debian/changelog (+10/-0)
debian/patches/12-let-transient-critical-notifications-expire.patch (+31/-0)
debian/patches/series (+1/-0)
js/ui/messageTray.js (+3/-3)
To merge this branch: bzr merge lp://staging/~tkluck/ubuntu/precise/gnome-shell/lp883443
Reviewer Review Type Date Requested Status
Mathieu Trudel-Lapierre Disapprove
Jeremy BĂ­cha Pending
Ubuntu branches Pending
Review via email: mp+98471@code.staging.launchpad.net

Description of the change

This fixes #883443. Testcase:

send a critical, transient message:

$ notify-send -u critical -h int:transient:1 "blabla"

it will never disappear in gnome-shell. In ubuntu-patched network-manager, a network disconnect leads to such a message. It will even reappear after suspend/hibernate etc (even if the networking situation has changed any number of times in between), which is very confusing. The patch makes sure that critical, transient messages behave as if they are urgency=normal messages. They will show for 4 seconds and then disappear.

I am not aware of any other critical, transient messages, and it seems contrary to the spirit of messaging in gnome-shell. So this should probably be patched on the ubuntu side.

To post a comment you must log in.
49. By Timo Kluck

 - Treat transient, critical notifications the same as non-critical
   ones (notably the ubuntu-specific one that says "network disconnected,
   you are now offline") Closes: #883443
*

Revision history for this message
Luke Yelavich (themuso) wrote :

Jeremy, since you work on gnome-shell a fair bit, could you please have a look at this?

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

I'll NAK this based on the discussion with upstream; it should be fixed in nm-applet instead, I'll make sure we drop the urgency of the disconnect messages to NORMAL or something to avoid it sticking around.

review: Disapprove

Unmerged revisions

49. By Timo Kluck

 - Treat transient, critical notifications the same as non-critical
   ones (notably the ubuntu-specific one that says "network disconnected,
   you are now offline") Closes: #883443
*

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: