Dash - The Dash doesn't give results when searching using key letters

Reported by Alex Moldovan on 2011-06-08
44
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Ayatana Design
Medium
John Lea
Unity
Medium
Unassigned
unity-2d
Undecided
Unassigned
unity-lens-applications
Medium
Unassigned
unity-lens-files
Medium
Unassigned
unity-2d (Ubuntu)
Undecided
Unassigned
unity (Ubuntu)
Medium
Unassigned
unity-lens-applications (Ubuntu)
Medium
Unassigned
unity-lens-files (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: unity

The dash doesn't find files when searching for key letters (letter sequences), which will be helpful when you don't remember the exact name of the file. It does find files if the words are separated by space, but when the words are separated by '_' it doesn't.
Examples:
1) Two files 'backup_banshee.sh' and 'backup banshee.sh'. If I type in the dash 'backup' , both files will show up. However if I type 'banshee' only 'backup banshee.sh' will show up.

2) Two files 'Amenda 02' and 'Amenda02'. If I type in the dash 'amenda' , both files will show up. However if I type '02' only 'Amenda 02' will show up.

3) Other files appear as results, files that don't have anything to to with the search. See the bkp.png screenshot as an example.

See the attached screenshots as example.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: unity 3.8.12-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
Uname: Linux 2.6.38-8-generic-pae i686
NonfreeKernelModules: nvidia
Architecture: i386
CompizPlugins: [core,bailer,detection,composite,opengl,decor,move,imgpng,grid,gnomecompat,snap,compiztoolbox,shift,resize,place,mousepoll,regex,session,unitymtgrabhandles,vpswitch,wall,animation,workarounds,expo,ezoom,staticswitcher,fade,scale,unityshell]
Date: Wed Jun 8 08:39:41 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427)
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)

Alex Moldovan (alexmoldovan) wrote :
Alex Moldovan (alexmoldovan) wrote :
Alex Moldovan (alexmoldovan) wrote :
Alex Moldovan (alexmoldovan) wrote :
description: updated
John Lea (johnlea) on 2011-06-15
Changed in ayatana-design:
assignee: nobody → John Lea (johnlea)
importance: Undecided → Medium
status: New → Fix Committed
tags: added: udo
affects: unity → unity-place-files
affects: unity (Ubuntu) → unity-place-files (Ubuntu)
Changed in unity-place-files:
status: New → Confirmed
Changed in unity-place-files (Ubuntu):
status: New → Confirmed
Didier Roche (didrocks) on 2011-06-20
Changed in unity:
status: New → Confirmed
Didier Roche (didrocks) on 2011-06-20
Changed in unity-2d:
status: New → Confirmed
Neil J. Patel (njpatel) on 2011-06-30
affects: unity → null
affects: unity-2d → unity
affects: unity → null2
Changed in unity-place-files:
assignee: nobody → Neil J. Patel (njpatel)
importance: Undecided → High
status: Confirmed → Triaged
Changed in unity-place-files (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → High
assignee: nobody → Neil J. Patel (njpatel)
Didier Roche (didrocks) on 2011-07-20
Changed in unity:
status: New → Triaged
Didier Roche (didrocks) on 2011-07-22
Changed in unity-2d:
status: New → Triaged
Omer Akram (om26er) on 2011-09-21
Changed in null:
status: Confirmed → Invalid
Changed in null2:
status: Confirmed → Invalid
Changed in unity:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
Changed in unity-place-files (Ubuntu):
assignee: Neil J. Patel (njpatel) → Mikkel Kamstrup Erlandsen (kamstrup)
Changed in unity-lens-files:
assignee: Neil J. Patel (njpatel) → Omer Akram (om26er)
assignee: Omer Akram (om26er) → nobody
Omer Akram (om26er) on 2011-09-24
Changed in unity:
importance: Undecided → High
John Lea (johnlea) on 2011-09-28
Changed in ayatana-design:
status: Fix Committed → Fix Released
Didier Roche (didrocks) on 2011-09-30
Changed in unity-lens-files (Ubuntu):
status: New → Triaged
John Lea (johnlea) on 2011-10-18
tags: added: udp
Changed in unity:
milestone: none → backlog
Changed in ayatana-design:
status: Fix Released → Fix Committed

I think this would be a nice to address. We have some snafu in the code on how to treat underscores (xapian's TermGenerator does not break on underscores - which we shamefully exploit in some cases...). Also breaking on transitions between numerals and characters seems like a sensible thing to do.

This is also very related to breaking words in CamelCase for which I was certain there was a bug logged, but now I can't find it. I'll be using the tag 'text-analysis' to track these kinds of bugs.

tags: added: text-analysis

Filed bug #877941 for CamelCase tokenization

Changed in unity-lens-applications:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
status: New → Triaged
Changed in unity:
importance: High → Medium
Changed in unity-lens-files:
importance: High → Medium
Changed in unity-place-files (Ubuntu):
importance: High → Medium
Didier Roche (didrocks) on 2011-10-21
Changed in unity-place-files (Ubuntu):
status: Triaged → Invalid
Didier Roche (didrocks) on 2011-10-25
Changed in unity (Ubuntu):
status: New → Triaged
Didier Roche (didrocks) on 2011-10-25
Changed in unity-lens-applications (Ubuntu):
status: New → Triaged
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-2d (Ubuntu):
status: New → Confirmed
William Grant (wgrant) on 2012-02-10
no longer affects: null2
no longer affects: null
Michal Hruby (mhr3) on 2012-04-06
no longer affects: unity-place-files (Ubuntu)
Changed in unity-lens-files (Ubuntu):
importance: Undecided → Low
Changed in unity-lens-applications (Ubuntu):
importance: Undecided → Low
Changed in unity (Ubuntu):
importance: Undecided → Low
Changed in unity:
importance: Medium → Low
John Lea (johnlea) on 2012-10-15
summary: - The Dash doesn't give results when searching using key letters
+ Dash - The Dash doesn't give results when searching using key letters
Changed in unity:
importance: Low → Medium
Changed in unity-lens-applications:
importance: Undecided → Medium
no longer affects: unity-2d (Ubuntu)
Changed in unity:
assignee: Mikkel Kamstrup Erlandsen (kamstrup) → nobody
Changed in unity-lens-applications:
assignee: Mikkel Kamstrup Erlandsen (kamstrup) → nobody
Changed in unity (Ubuntu):
importance: Low → Medium
Changed in unity-lens-files (Ubuntu):
importance: Low → Medium
Changed in unity-lens-applications (Ubuntu):
importance: Low → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints