Screenshots cause a lot of noise in /tmp, use a /tmp/SC folder instead

Bug #648284 reported by Vish on 2010-09-26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Mohamed Amine Ilidrissi

Bug Description

Binary package hint: software-center

If we are browsing apps in SC, the screenshot thumbnails are stored in /tmp as s-c-screenshot1faPcq and so on..
If a user is browsing several apps then the whole /tmp has a huge list of those screenshots. And these are not cleaned until the next session.

It would be cleaner/less messier if the screenshots and any other SC related temporary items were stored in a folder of its own.
Maybe in a folder named /tmp/SoftwareCenter ?

The thumbnail is not re-used anyway right now[ Bug #648279 ].
Once that is fixed along with Bug #648278 ,Creating this folder might be easier to keep a cache atleast until the user reboots? Making SC seem to react quicker.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: software-center 3.0.1
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
Date: Sun Sep 26 23:13:56 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100924)
PackageArchitecture: all
SourcePackage: software-center

Related branches

Vish (vish) wrote :
Changed in software-center (Ubuntu):
importance: Undecided → Wishlist
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
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/
    - 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/
    - do not emit "channels-changed" while installing a purchase,
      this emited already by the update()
  * softwarecenter/db/
    - 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/
    - 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/
    - add mimetypes to the xapian database
  * softwarecenter/db/
    - 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/
    - 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/
    - 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/
    - 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/
    - fix intermittent crash in _set_cursor (LP: #617004)
 -- Michael Vogt <email address hidden> Fri, 15 Oct 2010 1...


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

Other bug subscribers