On Mon, 2011-03-21 at 11:13 -0700, Adam Williamson wrote:
I just installed some updates with PackageKit in F15, and got the
'A
restart is required' notification. This is currently a child dialog of
the PackageKit window. When the notification popped up, *only* it was
popped to the front - the PackageKit window remained hidden behind other
apps. So the 'Restart is required' child window looked a bit odd, shorn
from the context of its parent window. Is it supposed to work like this,
or should the parent window also have been popped to the front?
Mutter bug for attached dialogs not attaching because of stacking is:
https://bugzilla.gnome.org/show_bug.cgi?id=632007
There was a patch in there, but it has various issues - and
this points out an additional problem beyond what is noted there - if
that patch was applied, the dialog would have been been popped up
underneath, next to it's parent, but that would have happened after
Mutter already decided that it didn't need to "focus stealing prevent"
the dialog so you'd just have gotten no notification.
We need either to put the parent next to the dialog, which would cause
everything to pop to the front. Or we need to focus stealing prevent
the dialog - so you'd see "PackageKit is ready" in the notification
area.
(For true polish, I think it'd be nice if the 'restart is
required'
dialog were a Shell-y thing like the new PolicyKit authentication
dialogs, but that's really just a side note).
Also, the dialog and PackageKit itself seemed to just disappear after
about 30 seconds or so, I don't have a crash report from abrt so I'm not
sure what happened to it.
To me the right thing here would be a notification - we don't want to
say "you can't do anything else until you restart", but rather "you
urgently should restart".
- Owen