Have Unity monitor and react to all installation events

Bug #1011681 reported by VisionInit
36
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Unity
Invalid
Medium
Unassigned
software-center (Ubuntu)
Invalid
Medium
Unassigned
unity (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

A few times now I have closed the software center while installing a couple new toys. What happens is that it leaves the "waiting to install" icon on the unity bar.. and re-opening software center to finish the installs doesn't resolve the problem.

I think that if you are installing software, it should be indicated in the dock / notification area.. with a tray icon to manage some basic options.

So the bug is "waiting to install" sits around until you reboot (I think) and other icons from software that was installed after you closed the software-center does not get a unity icon at all. It really messes up the flow...

Revision history for this message
Gary Lasker (gary-lasker) wrote :

Hi jr, thanks for your report! I've set the status to confirmed as indeed this is the current behavior, and I've added a task for Unity as well.

Changed in software-center (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Robert Roth (evfool) wrote :

Bug #528584 seems to be slightly related, as it also discusses the case when software-center is closed while installing something, maybe these two should be fixed together.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Omer Akram (om26er)
Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Gary Lasker (gary-lasker) wrote :

Yeah, I think the fix here would be that Unity monitors the full range of aptdaemon events throughout the installation process, so that even when Software Center is shut down, the Unity launcher will continue to respond to the events until the install is completed.

A necessary requirement for this fix is that Software Center sends the Unity launcher dbus signal at as close to the exact moment the installation begins as possible. Currently, we have a Software Center branch in review that fixes four high-target bugs (see bug 925014 and its attached branch for details), but unfortunately this new branch delays the sending of the launcher dbus signal until the very end of the install process. So, if a person closes Software Center during an install, the item will not get added to the launcher at all.

Again, the fix will be to have Unity monitor and react to all installation events. Once we have that, we can revert the delaying behavior in Software Center again.

Cheers,
Gary

VisionInit (visioninit)
summary: - Should move to tray icon when closed while installing
+ Have Unity monitor and react to all installation events
Changed in unity (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Gary Lasker (gary-lasker) wrote :

mpt, please keep this one open and separate, and please do not modify its set of duplicates. This is a separate bug meant as a placeholder to keep track of adding the still-needed support in Unity for all aptdaemon events. Once this support is added, we can revert the launcher integration behavior to match the spec (where the item is added to the launcher at the start of an install).

I'll revert the dupe changes. Thanks!

Changed in unity:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Alex Baggott (alex-baggott) wrote :

Thank you for taking the time to report this bug. We have tried to recreate this on the latest release of Ubuntu and cannot reproduce it. This bug is being marked as Invalid. If you believe the problem to still exist in the latest version of Ubuntu please comment on why that is the case and change the bug status to NEW.

Changed in unity (Ubuntu):
status: Confirmed → Invalid
Changed in software-center (Ubuntu):
status: Confirmed → Invalid
Changed in unity:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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