List view errors in "Get Software" view after disabling sources

Bug #559539 reported by Gary Lasker on 2010-04-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Gary Lasker

Bug Description

Binary package hint: software-center

Ubuntu Software Center 1.1.24, Ubuntu Lucid

1. Open Software Center and choose menu item "Edit->Software Sources..." to open the Software Sources dialog.
2. Make sure that the checkbox for "Software restricted by copyright or legal issues (multiverse)" is checked.
3. Close the Software Sources dialog.
4. In "Get Software" view, navigate to "Fonts" and select the package "ttf-mscorefonts-installer".
5. Again, open the Software Sources dialog using menu item "Edit->Software Sources...".
6. In the Software Sources dialog, uncheck the "Software restricted by copyright or legal issues (multiverse)" item.
7. Close the Software Sources dialog, and observe the "In Progress" node appears for a short time in the left pane.

What happens:
After the "In Progress" item disappears in the left pane, the selected row for "ttf-mscorefonts-installer" remains selected, and the message "Sorry, "ttf-mscorefonts-installer" is not available for this type of computer" is displayed in the row. Wait a few more seconds and then mouse over this row. Observe that the row contents suddenly become invisible and we get a running spew of exceptions in the attached traceback (note that this is a similar phenomenon to that described in bug 556995 for channel views, but this case is specific to the "Get Software" view rather than the channels themselves).

What should happen:
After the update is complete, the "ttf-mscorefonts-installer" row (along with the row for any other now-unavailable package) should be removed from the list. In other words, the list view should always be refreshed to display the current state of available software items after the sources have changed.

Gary Lasker (gary-lasker) wrote :
Changed in software-center (Ubuntu):
assignee: nobody → Gary Lasker (gary-lasker)
importance: Undecided → Low
status: New → Triaged
Gary Lasker (gary-lasker) wrote :

Note that this problem also occurs if the details view is showing at the time that software sources are updated, and then you navigate back to the list view. This can also be done using the back history button. These two additional cases must be part of the fix.

Changed in software-center (Ubuntu):
milestone: none → ubuntu-10.04
status: Triaged → In Progress
Launchpad Janitor (janitor) wrote :

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

software-center (1.1.26) lucid; urgency=low

  [ Gary Lasker ]
  * softwarecenter/,
    - correctly refresh the availablepane view on a
      change to software sources (LP: #559539)
  * softwarecenter/,
    - clear navigation history on a software channel refresh
      because packages in the history stack might no longer
      be available

  [ Michael Vogt ]
  * softwarecenter/view/
    - fix displaying removal warning when listview interface buttons
      are used (LP: #561018)
 -- Michael Vogt <email address hidden> Tue, 13 Apr 2010 22:57:30 +0200

Changed in software-center (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers