"Fonts" includes ttfm file manager because xapian can't search "ttf-*"

Bug #531570 reported by Matthew Paul Thomas
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Undecided
Kiwinote

Bug Description

Binary package hint: software-center

software-center trunk r612, Ubuntu Lucid

Ubuntu Software Center's "Fonts" department incorrectly contains the "ttfm" package, "graphical file manager for the ext3cow file system".

This is because the "Fonts" department is being populated partly by a search for package names matching "ttf*", rather than "ttf-*".

And the reason we're not searching for "ttf-*" is because xapian treats the "-" character specially, and provides no way of escaping it.

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

This should be fixed by changing the categorization XML to look for the Debian "fonts" section instead of doing a package name search.

Andrew (and471)
Changed in software-center (Ubuntu):
status: New → Confirmed
Kiwinote (kiwinote)
Changed in software-center (Ubuntu):
status: Confirmed → Fix Committed
assignee: nobody → Kiwinote (kiwinote)
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
software-center (2.1.6) maverick; urgency=low

  [ Kiwinote ]
  * data/software-center.menu.in:
    - update query for fonts category (LP: #531570, #605459)
  * debian/control:
    - depend on humanity-icon-theme, rather than gnome-icon-theme
  * softwarecenter/app.py:
    - always append the humanity-icon-theme to the iconpath (LP: #436310, #466271, #527503, #556335, #594795)
  * softwarecenter/view/availablepane.py:
    - capitalize 'install n items' button label for mpt (LP: #605052)
  * softwarecenter/view/catview_gtk.py:
    - speed up carousel transition (thanks nuthinking) (LP: #604627)
  * softwarecenter/view/catview.py:
    - allow 'OR' tag inside an 'AND' tag

  [ Michael Vogt ]
  * softwarecenter/db/database.py:
    - parse axi values file for cataloged_time support
  * merged lp:~mvo/software-center/new-apps-test1 that adds support
    for a proper a "Whats new" category based on the xapian
    cataloged_time information
  * debian/control:
    - recommend aptdaemon (>= 0.38ubuntu1) to get catalogued_time
      support
    - recommend sessioninstaller for PK compatible session API
  * merged lp:~hellium/software-center/logging, thanks to
    Geliy Sokolov
  * merged lp:~mmcg069/software-center/bigger-icons, the icon size
    is actually the same, name is a bit misleading. It contains a new
    actionbar, but that is not yet enabled as its not feature complete
    yet
  * merged lp:~didrocks/software-center/fix-running-standalone-pane,
    many thanks
  * Support "pkgname/long appname with spaces" on the commandline when
    a single argument is passed. Without "/" its just considered a
    pkgname

  [ Gary Lasker ]
  * merge lp:~mmcg069/software-center/appdetailsview-gtk-mpt, many nice
    UI tweaks and improvements from Matthew McGowan, thanks!
  * softwarecenter/view/widgets/navigationbar.py,
    softwarecenter/view/softwarepane.py:
    - remove the old navigation bar as we won't be going back to it
  * softwarecenter/view/availablepane.py:
    - don't call set_category if viewing details or searching to
      reduce unnecessary applist refreshes
  * softwarecenter/view/appview.py;
    - fix app row reselect in the applist view for sorted lists and also
      for channels when the model is regenerated rather than replaced
      (LP: #609945)
  * test/test_appview.py:
      add tests for correct sorting for app insert case and for
      index map updating
  * merge lp:~didrocks/software-center/add-remove-multiple to add a
    remove_multiple method to aptd.py, thanks to Didier Roche!
 -- Michael Vogt <email address hidden> Tue, 27 Jul 2010 19:45:53 +0200

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.