search can give false positive (Dapper 0.57.8) due to text munging

Bug #101938 reported by Toby Kelsey
2
Affects Status Importance Assigned to Milestone
synaptic (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: synaptic

Search on name+description in current Dapper version (0.57.8) for "swf" finds, among other packages, libwftk-dev. The description reads:

  WorldForge Toolkit - a C++ widget toolkit - development files
  wftk is a C++ widget library created by the WorldForge project, based on
  libuta. It uses SDL, SDL-mixer, sigc++ and freetype.

This does not contain the string "swf" although if you remove the newline between the first two lines it would.
So Synaptic seems to search on munged text ('apt-cache search swf' does not find this) with whitespace removed.

This is a minor bug but fixing it would reduce the number of unwanted items in search results list.

Tags: quicksearch
Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for your bug report.

Changed in synaptic:
importance: Undecided → Medium
Michael Vogt (mvo)
Changed in synaptic:
status: Unconfirmed → Confirmed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

It looks like being fixed in karmic and higher. Is it still an issue for you ?
Thanks in advance.

Changed in synaptic (Ubuntu):
status: Confirmed → Incomplete
tags: added: quicksearch
Revision history for this message
Toby Kelsey (toby-kelsey) wrote :

This problem seems to be fixed as of version 0.62.5 (Ubuntu 9.04 and 9.10), according to some quick tests. The original example is fixed, and for example the 3dchess package contains the description:

3 dimensional Chess game for X11R6. There are three boards, stacked
vertically; 96 pieces of which most are the traditional chess pieces with
just a couple of additions; 26 possible directions in which to move. The
AI isn't wonderful, but provides a challenging enough game to all but the
most highly skilled players.

and a search on 'withjust' does not select it.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for the test. I'm closing this report due to your comment.

Thanks for you help and don't hesitate to submit any new bug.

Changed in synaptic (Ubuntu):
status: Incomplete → 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.