Dash - Add sub-string matching to Dash search

Bug #752259 reported by seanlano
178
This bug affects 57 people
Affects Status Importance Assigned to Milestone
Ayatana Design
Fix Committed
Medium
John Lea
unity-lens-applications
Fix Committed
Medium
Unassigned
unity (Ubuntu)
Invalid
Medium
Unassigned
unity-lens-applications (Ubuntu)
Fix Committed
Medium
Unassigned

Bug Description

Not a bug specifically, but...

It would be really nice if, when you hit Super and start typing the name of an application you wish to open, Unity behaved more like GNOME-Do. What I mean is that in Unity's current form, you have to type the proper name of the application. Whereas in GNOME-Do, you can just hit a few characters from it and it will find it for you. For example, "Synaptic Package Manager". In Unity you have to start typing S Y N, but in GNOME-Do you could type S M or S P or S P M, etc and it knows what you mean. The letters don't have to be adjacent to each other in the name of the application for GNOME-Do, but they must be in Unity. This would be a nice little feature to have, and would make Unity that little bit more unifying.

-------------------
Second description of same issue from dupe bug:

This could be seen as a wishlist, but in my opinion the current behavior is unexpected.

When using dash and starting writing the name of the application/file, I expected the match being done with *all* the name of the application, not just the *start*. I mean, if I type "dict", I expect to see both "Dictionary" and "StarDict". I notices this several time; you often remember part of the name of the application and sometime it is not the start of it.

Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

Needs design discussion. Marking incomplete in the meantime.

tags: added: needs-design
Changed in unity:
status: New → Incomplete
Omer Akram (om26er)
Changed in unity (Ubuntu):
status: New → Incomplete
Revision history for this message
Sebastock (sebastock) wrote :

I fully agree with you. In gnome-do, I just have to type "f" and press "enter" to open firefox. With unity, I have to type "f" "i" "r" "e" then press tab twice and finally press enter to open firefox. It would be much more efficient if there was an auto-completion or suggestion 'à la' gnome-do.

Revision history for this message
Bilal Shahid (s9iper1) wrote :

ur report is incomplete so complete it use this code in terminal
apport-collect 752259

Revision history for this message
seanlano (seanlano) wrote : Dependencies.txt

apport information

tags: added: apport-collected natty running-unity ubuntu
description: updated
Revision history for this message
seanlano (seanlano) wrote : GconfCompiz.txt

apport information

Revision history for this message
seanlano (seanlano) wrote : Re: Make typing shortcuts more like GNOME-Do

OK, done. But I'm not sure that it will be that helpful for this issue, as it isn't a problem with the operation of the software. It's a design issue.

Revision history for this message
Sebastock (sebastock) wrote :

Btw, there is also an entry on this topic in the ubuntu brainstorm (idea 27530).

Revision history for this message
Eduardo Rivas (jerivasmelgar) wrote :

Well, it'll be even better if we could get many of the features that made Do more than a launcher, like executing actions over items and integrating with web services and stuff. It's quite terrific because a regular user can keep using it as a launcher, but a power user could work wonders with it by knowing the key bindings and advanced features.

John Lea (johnlea)
tags: added: udo
removed: needs-design
Changed in ayatana-design:
assignee: nobody → John Lea (johnlea)
status: New → Fix Committed
importance: Undecided → Wishlist
Neil J. Patel (njpatel)
Changed in unity:
importance: Undecided → Wishlist
status: Incomplete → Confirmed
Changed in unity (Ubuntu):
importance: Undecided → Wishlist
status: Incomplete → Confirmed
Jorge Castro (jorge)
tags: added: backlog
John Lea (johnlea)
Changed in ayatana-design:
status: Fix Committed → Fix Released
Revision history for this message
seanlano (seanlano) wrote :

Just out of interest, what is the "Fix Released" referring to? Has Unity been modified to have the above functionality? Awesome!

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

seanlano, no, Ayatana Design uses statuses differently from every other Launchpad project. Fix Released means that the design is finalized. To see whether it's implemented, check the status in the project where the bug actually exists (in this case, Unity).

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

@mpt: ehm, but what's the design decision here? I can't find any implementation details...

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Let me chime in here, as apps lens maintainer who did this original behavior, although I don't make calls for design.

The current behavior is very much intentional for many reasons.

 1) I am quite sure that 99.9% of the non-geeks in my social circles would be utterly confused about the perceived random matching (which I admit, i was myself for several months with Do)

 2) I believe it is important that we have the same matching for installed apps as we do for those we find in the Software Center catalog (in Apps Availabale for Download). And in fact, also the same mathcing criteria for files. Doing sub-pattern matching like described on massive corpora like the S-C catalog or the entire files index is not feasible, nor would it provide sensible results.

 3) I don't buy the argument that it is easier to type "sp" than it is to type "syn". That's a matter of muscle memory. And isn't it even easier to hit <super>-N where N is the offset of the launcher item?

 4) Experts can easily uninstall the default apps lens an install a custom apps lens that has the desired behavior (given that some writes it first of course ;-))

Revision history for this message
Paul Sladen (sladen) wrote :

My suspicion is that an element of the "random results" is because the result is evaluated at the point '[enter]' it hit, rather than computing the result for the whole line of input, then selecting the top result. (eg. typing slowly, or typing fast produces different == non-predictable results).

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

Marco, I have no idea, sorry. The Dash specification doesn't mention how applications (or items in general) should be chosen as results.

John Lea (johnlea)
description: updated
summary: - Make typing shortcuts more like GNOME-Do
+ Dash - Add sub-string matching to Dash search
Changed in ayatana-design:
importance: Wishlist → High
Omer Akram (om26er)
Changed in unity:
importance: Wishlist → Medium
Changed in unity (Ubuntu):
importance: Wishlist → Medium
Changed in unity-lens-applications (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Changed in unity-lens-applications:
status: New → Confirmed
John Lea (johnlea)
tags: added: udp
Changed in unity:
milestone: none → backlog
Changed in ayatana-design:
status: Fix Released → Fix Committed
John Lea (johnlea)
Changed in ayatana-design:
status: Fix Committed → Triaged
Mirco Müller (macslow)
Changed in unity:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
John Lea (johnlea)
Changed in ayatana-design:
status: Triaged → Fix Committed
tags: added: text-analysis
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

As a note - I hacked together a "playground" we can use more easily to play around with different matching semantics in lp:unity-lens-bliss. See also http://www.grillbar.org/wordpress/?p=568

John Lea (johnlea)
description: updated
Revision history for this message
bruce (bruce-oy) wrote :

i hope that the camel-case match in the dash will comes with the next unity release.

John Lea (johnlea)
tags: added: substring
Omer Akram (om26er)
Changed in unity:
assignee: Mikkel Kamstrup Erlandsen (kamstrup) → nobody
Changed in unity-lens-applications:
importance: Undecided → Medium
Tim Penhey (thumper)
Changed in unity:
milestone: backlog → none
Tim Penhey (thumper)
tags: added: exbacklog
John Lea (johnlea)
Changed in unity:
status: Confirmed → Triaged
Changed in unity-lens-applications:
status: Confirmed → Triaged
Changed in unity-lens-applications (Ubuntu):
status: Confirmed → Triaged
Changed in unity (Ubuntu):
status: Confirmed → Triaged
Changed in ayatana-design:
importance: High → Medium
Revision history for this message
Adam Wojtowicz (astenu) wrote :

In 12.04 I've noticed that dash returns searches for substring (partial words) for files and folders but not for applications. E.g.:
 - searching for "hrom" returns "Chromatic Fantasy" file but NOT "Chromium Browser"
 - searching for "chrom" returns both file and application
It would be very helpful to return the partial word matches for applications also.

Revision history for this message
markba (mark-baaijens) wrote :

I 've tested in 13.04 the scenario, and there it is working as Adam described. So we have already partial searching, but only (or at least) for files and not for apps.

Revision history for this message
Paweł Stołowski (stolowski) wrote :

With the introduction of libcolumbus and fuzzy matching it now (13.10) works as described in this bug report (one can argue it's too tolerant and fuzzy).

Changed in unity-lens-applications:
status: Triaged → Fix Committed
no longer affects: unity
Changed in unity-lens-applications (Ubuntu):
status: Triaged → Fix Committed
Changed in unity (Ubuntu):
status: Triaged → Invalid
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.