Cache and Re-use Screenshots

Bug #648278 reported by Vish
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Low
Mohamed Amine Ilidrissi

Bug Description

Binary package hint: software-center

Steps to reproduce:
1: View an application's screenshot.
2: Close the screenshot.
3: Now again click the screenshot. [maybe i dint get a good look at it the first time?]

>> Notice that the screenshot is loaded again!

The screenshot is cleared once we click "close" and instead loads/creates another new screenshot every time we need to view it.

Re-using the previous screenshot would make it seem that SC is quick(er) and has lesser lag.[ also reduce the unnecessary bandwidth, however small it is ;-) ]

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: software-center 3.0.1
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
Date: Sun Sep 26 23:39:43 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100924)
PackageArchitecture: all
ProcEnviron:
 LANG=en_IN
 SHELL=/bin/bash
SourcePackage: software-center

Related branches

Revision history for this message
Vish (vish) wrote :
Changed in software-center (Ubuntu):
importance: Undecided → Low
summary: - Re-use Screenshots
+ Cache and Re-use Screenshots
Revision history for this message
Vish (vish) wrote :

While considering to fix this bug, fixing Bug #648284 along with this would be great!

Changed in software-center (Ubuntu):
status: New → In Progress
assignee: nobody → Mohamed Amine IL Idrissi (ilidrissi.amine)
Changed in software-center (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.1 KiB)

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

---------------
software-center (3.1.0) natty; urgency=low

  [ Michael Vogt ]
  * softwarecenter/app.py:
    - use "reopen" instead of "open" in the channels-changed
      callback to ensure that the various views get the right
      signal. This partly fixes #507836, the exceptions will
      stil be there, but the UI will fully recover
  * softwarecenter/backend/aptd.py:
    - do not emit "channels-changed" while installing a purchase,
      this emited already by the update()
  * softwarecenter/db/application.py:
    - if appdetails finds its pkgname in the pending transactions
      but does not have a apt pkg object yet, this means it got
      installed from a newly enabled source, return the right state
      in this case
  * softwarecenter/view/appdetailsview_gtk.py:
    - remove explicit "progress.set_fraction()" in configure() because
      its not needed (gtk.ProgressBar will DTRT) and also we may get
      "xapian reopen" signals in the middle of a transaction, in this
      case we don't want to reset the progress.
  * merged lp:~mvo/software-center/zeitgeist-magic-seif that brings
    basic zeitgeist integration. Many thanks to Seif Lotfy for the
    work on this!
  * merged lp:~mmcg069/software-center/usage-bubble, that makes the
    usage counter look so much nicer :)
  * merged lp:~didrocks/software-center/smarter-app-filtering-level,
    many thanks
  * merged lp:~mmcg069/software-center/selectable-AppDescription,
    many thanks
  * softwarecenter/db/update.py:
    - add mimetypes to the xapian database
  * softwarecenter/db/database.py:
    - support mime search via "mime" search prefix, e.g.
      "mime:audio/ogg" or "softwarecenter search:mime:application/x-cue"
  * merged lp:~seif/software-center/zeitgeist-popular-mimetypes and
    lp:~mvo/software-center/zeitgeist-popular-mimetypes-mvo, that
    brings more zeitgeist love from the unstoppable Seif Lotfy
  * merged lp:~mvo/software-center/3.0-history to bring back version
    numbers in the upgrade history

  [ Delan Azabani ]
  * removed "free" from desktop file description as users can buy
    software from the software center (LP: #656800)

  [ Kiwinote ]
  * softwarecenter/view/appdetailsview_gtk.py:
    - don't eat 'o ' character combinations within bullet points (LP: #646822)
      (test case: software-center deja-dup)
    - scale icon down when setting 'where is it' icon from path (LP: #645062)
      (test case: software-center briquolo (once installed))
  * softwarecenter/view/softwarepane.py:
    - don't offer to 'show 9k items' in searches, as we limit searches to 200
      items (LP: #648988)
      (test case: software-center search:library)
  * softwarecenter/db/update.py:
    - never translate X-AppInstall-Package (fixes eg lp: #658326)

  [ Mohamed Amine IL Idrissi ]
  * Screenshots are now stored all in a single software-center
    directory (LP: #648284)
  * Thumbnails and screenshots are now reused (LP: #648279, #648278)

  [ Gary Lasker ]
  * softwarecenter/view/appview.py:
    - fix intermittent crash in _set_cursor (LP: #617004)
 -- Michael Vogt <email address hidden> Fri, 15 Oct 2010 1...

Read more...

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.

Other bug subscribers

Remote bug watches

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