partners refreshes too often

Bug #563163 reported by Kiwinote
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Undecided
Olivier Tilloy
Lucid
Fix Released
Undecided
Olivier Tilloy

Bug Description

Binary package hint: software-center

s-c 1.1.26, partners enabled, acroread installed.

Browse to the partners list view and remove acroread from within the list view. Note that just after removal the screen refreshes (ie blanks white) and then about 5 seconds later the screen refreshes a further 5 times. This sometimes happens during the removal as well.

TEST CASE:
1. use lucid
2. open software-center
3. select a application (like accessories, 7zip) and click "more info"
4. click on install button in the details view
5, wait until it finished, wait about 10s more and verify it flickering a couple of times
6. install software-center from lucid-prposed
7. repeat step 2-5
8. verify that after the install finished it flickers at most once (after ~10s)

Related branches

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

I can reliably reproduce. The same also happens *after* installing acroread from the partners source.

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

This also happens with other views (e.g. "Installed Software"). The flickering is less obvious, but the refresh happens in the same fashion (5 times in a row approximately 5 seconds after the initial refresh).

An obvious symptom is that when the refresh happens, the first item in the list is selected with a delay, so the row expands (to show the "More Info" and "Install"/"Remove" buttons). When there is no flickering, the first item seems to be unselected and selected again 5 times in a row.

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

The linked branch implements an incomplete fix.
By making sure the APT cache is not re-opened many times in a row, the view refresh (and thus the screen flickering) is reduced to only one occurrence too many.

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

The linked branch now contains a complete fix ready for review.

Michael Vogt (mvo)
description: updated
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted software-center into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in software-center (Ubuntu Lucid):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
software-center (2.0.3) lucid-proposed; urgency=low

  [ Michael Vogt ]
  * debian/control:
    - updated Vcs-Bzr location to point to lucid branch
  * softwarecenter/apt/aptcache.py:
    - fix flickering when a application is instaleld (LP: #563163)

  [ Olivier Tilloy ]
  * data/templates/AppDetailsView.html:
    - fix missing padding for small details window sizes (LP: #560026)
  * softwarecenter/view/widgets/searchentry.py:
   - Set the search entry's text color to black when not empty.
     This makes it readable on dark themes with a light text color by
     default (LP: #500174)
  * softwarecenter/app.py:
    - avoid 100% usage when waiting for software-sources to finish
      (LP: #459521)
  * softwarecenter/view/navhistory.py:
    - keep the search terms updated to ensure the navigation history
      always has the latest used search terms (LP: #537512)

  [ Kiwinote ]
  * data/featured.menu.in:
    - Update featured applications list per Desktop team (LP: #548534)
    - Feature 'fretsonfire-game' rather than 'fretsonfire' (LP: #538646)
 -- Michael Vogt <email address hidden> Tue, 27 Apr 2010 19:06:44 +0200

Changed in software-center (Ubuntu Lucid):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Copied lucid-proposed to maverick.

Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
Changed in software-center (Ubuntu Lucid):
status: Fix Released → Fix Committed
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Test Case verified.
OK

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
software-center (2.0.3) lucid-proposed; urgency=low

  [ Michael Vogt ]
  * debian/control:
    - updated Vcs-Bzr location to point to lucid branch
  * softwarecenter/apt/aptcache.py:
    - fix flickering when a application is instaleld (LP: #563163)

  [ Olivier Tilloy ]
  * data/templates/AppDetailsView.html:
    - fix missing padding for small details window sizes (LP: #560026)
  * softwarecenter/view/widgets/searchentry.py:
   - Set the search entry's text color to black when not empty.
     This makes it readable on dark themes with a light text color by
     default (LP: #500174)
  * softwarecenter/app.py:
    - avoid 100% usage when waiting for software-sources to finish
      (LP: #459521)
  * softwarecenter/view/navhistory.py:
    - keep the search terms updated to ensure the navigation history
      always has the latest used search terms (LP: #537512)

  [ Kiwinote ]
  * data/featured.menu.in:
    - Update featured applications list per Desktop team (LP: #548534)
    - Feature 'fretsonfire-game' rather than 'fretsonfire' (LP: #538646)
 -- Michael Vogt <email address hidden> Tue, 27 Apr 2010 19:06:44 +0200

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

Other bug subscribers

Remote bug watches

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