Doesn't switch to previous view when "In Progress" section disappears

Bug #431907 reported by Vish
40
This bug affects 5 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Medium
Olivier Tilloy

Bug Description

Binary package hint: software-store

This is separate from Bug #426278 , which is about the "In progress" section appearing empty *during* install.

This bug is about the In progress section not switching back to the last installed/removed app.

Steps to reproduce is:
1: Select to install/remove an app
2: while install/remove is "In progress" , now switch to the "In progress" section
3: once the install/remove is completed , the section "In progress" disappears and the right side of the window is completely empty.

While the spec already says: "The “In Progress” section should be visible only when items are being installed or removed, or when the last installation or removal finished less than two seconds ago. If the section disappears while being displayed, the Store should return to the section that was previously being displayed."

This automatic switching is not taking place as designed.

ProblemType: Bug
Architecture: i386
CheckboxSubmission: 417990aadff2335cd485c57bb06c8968
CheckboxSystem: 5484a8dd99f006173bd2ac53fa4837c2
Date: Thu Sep 17 20:08:05 2009
DistroRelease: Ubuntu 9.10
Package: software-store 0.3.2
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US.UTF-8
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-10.32-generic
SourcePackage: software-store
Uname: Linux 2.6.31-10-generic i686

Related branches

Revision history for this message
Vish (vish) wrote :
Michael Vogt (mvo)
Changed in software-store (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
summary: - Software store does not switch view after install/remove
+ Doesn't switch to previous view when "In Progress" section disappears
Michael Vogt (mvo)
Changed in software-center (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-center - 0.4.4

---------------
software-center (0.4.4) karmic; urgency=low

  * debian/rules:
    - cleanup, we do not need python-central, all the python code is
      in a private dir
  * softwarecenter/view/appview.py:
    - display the package name in parenthesis if the application name
      appears multiple times in the database (e.g. for a generic name
      like "Terminal") LP: #434625
  * softwarecenter/app.py, softwarecenter/view/viewswitcher.py:
    - automatically switch back to the previous view if the progress
      view is empty and the user has not navigated away manually
      (LP: #431907)
  * po/ro.po:
    - added Romanian translation (thanks to Alex Eftimie)

 -- Michael Vogt <email address hidden> Fri, 02 Oct 2009 18:18:16 +0200

Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Dudude (dudude1990) wrote :

This bug is present in the current version of the Software Center, as of April 10, 2010.

Attached are screenshots showing the same error described in this bug report.

Revision history for this message
Dudude (dudude1990) wrote :

Screenshot showing blank area in the Software Center after a package installation or removal.

Changed in software-center (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Dudude (dudude1990) wrote :

I should also add that I am using Lucid amd64 and that my install is up to date.

Revision history for this message
Olivier Tilloy (osomon) wrote :

This also happens when cancelling a running installation while in the "In Progress" view.

Olivier Tilloy (osomon)
Changed in software-center (Ubuntu):
assignee: nobody → Olivier Tilloy (osomon)
status: Confirmed → In Progress
Revision history for this message
Olivier Tilloy (osomon) wrote :

The regression was introduced in revision 553.

From my tests with revision 552 though, it seems the view was automatically switched to "In Progress" whenever an (un)installation was started, which is not the case any more. Therefore the remembered view was the one selected right before switching.

Now that the switch to "In Progress" is not automatic any more, as I understand the specification (https://wiki.ubuntu.com/SoftwareCenter#%E2%80%9CIn%20Progress%E2%80%9D%20section) we need to handle the case where the user selects a package for installation from view A, then while the installation is being performed goes to explore view B, then click on "In Progress" to monitor the progress of the pending task. When the installation is complete, the view should be switched back to B, not A (comments on this interpretation are welcome).

The branch linked implements this behaviour.

Revision history for this message
Michael Vogt (mvo) wrote :

Fix nerged into trunk/ now, many thanks.

Changed in software-center (Ubuntu):
status: In Progress → Fix Committed
Kiwinote (kiwinote)
Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
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.