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

Bug #794565 reported by Alex Moldovan
46
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Ayatana Design
Invalid
Medium
John Lea
Unity
Invalid
Medium
Unassigned
unity-2d
Invalid
Undecided
Unassigned
unity-lens-applications
Invalid
Medium
Unassigned
unity-lens-files
Invalid
Medium
Unassigned
unity (Ubuntu)
Invalid
Medium
Unassigned
unity-2d (Ubuntu)
Invalid
Undecided
Unassigned
unity-lens-applications (Ubuntu)
Invalid
Medium
Unassigned
unity-lens-files (Ubuntu)
Invalid
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)

Revision history for this message
Alex Moldovan (alexmoldovan) wrote :
Revision history for this message
Alex Moldovan (alexmoldovan) wrote :
Revision history for this message
Alex Moldovan (alexmoldovan) wrote :
Revision history for this message
Alex Moldovan (alexmoldovan) wrote :
description: updated
John Lea (johnlea)
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
Changed in unity:
status: New → Confirmed
Changed in unity-2d:
status: New → Confirmed
Neil J. Patel (njpatel)
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)
Changed in unity:
status: New → Triaged
Changed in unity-2d:
status: New → Triaged
Omer Akram (om26er)
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)
Changed in unity:
importance: Undecided → High
John Lea (johnlea)
Changed in ayatana-design:
status: Fix Committed → Fix Released
Changed in unity-lens-files (Ubuntu):
status: New → Triaged
John Lea (johnlea)
tags: added: udp
Changed in unity:
milestone: none → backlog
Changed in ayatana-design:
status: Fix Released → Fix Committed
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

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
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

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
Changed in unity-place-files (Ubuntu):
status: Triaged → Invalid
Changed in unity (Ubuntu):
status: New → Triaged
Changed in unity-lens-applications (Ubuntu):
status: New → Triaged
Revision history for this message
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)
no longer affects: null2
no longer affects: null
Michal Hruby (mhr3)
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)
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
Revision history for this message
dino99 (9d9) wrote :

That version is no more supported

Changed in unity-lens-files (Ubuntu):
status: Triaged → Invalid
Changed in unity-lens-applications (Ubuntu):
status: Triaged → Invalid
Changed in unity-2d (Ubuntu):
status: New → Invalid
Changed in unity (Ubuntu):
status: Triaged → Invalid
Changed in unity-lens-files:
status: Triaged → Invalid
Changed in unity-lens-applications:
status: Triaged → Invalid
Changed in unity-2d:
status: Triaged → Invalid
Changed in unity:
status: Triaged → Invalid
Changed in ayatana-design:
status: Fix Committed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

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