run command (alt+F2): results do not contain the exact match
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Fix Released
|
Medium
|
Michal Hruby | ||
unity-lens-applications |
Fix Released
|
Medium
|
Michal Hruby | ||
unity (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Unassigned | ||
unity-lens-applications (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Test case:
1. Open the run command dialog (Alt + F2)
2. Type in the search field: evolution
-> When evolution is installed, the results should show the exact match first (evolution), and others later (like evolution-settings)
3. Clear the search field
4. Type in the search field: wine
-> When wine is installed, the results should show the exact match first (wine) followed by other applications matching the query
===
when using the ´run command´ dialog (ALT + F2) search results are shown real time below. My expectation is that the exact match is also shown in the search results. In some cases the exact match will not be shown.
for example:
"evolutio" will yield the result "evolution" and "evolution-
"evolution" will only yield the result "evolution-
==> although evolution matches exactly the executable file the program is not listed in the results.
"wine" will show several matches starting with wine, but not wine it self. "win" would do.
But in other cases the exact match is displayed:
"gedit" will show the expected result.
My assumption is that the exact match is not shown if more than one match is available. If only one program matches the input, the program is displayed.
lsb_release -rd
Description: Ubuntu oneiric (development branch)
Release: 11.10
Related branches
- Didier Roche-Tolomelli: Approve
-
Diff: 210 lines (+100/-42)3 files modifiedsrc/runner.vala (+87/-42)
tests/test-full-and-partial.sh (+7/-0)
tests/test-no-partial-commands.sh (+6/-0)
affects: | ubuntu → unity (Ubuntu) |
Changed in unity (Ubuntu): | |
status: | New → Confirmed |
Changed in unity: | |
status: | New → Confirmed |
Changed in unity: | |
importance: | Undecided → Medium |
Changed in unity (Ubuntu): | |
importance: | Undecided → Medium |
Changed in unity: | |
assignee: | nobody → Mikkel Kamstrup Erlandsen (kamstrup) |
Changed in unity-lens-files (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in unity-lens-applications: | |
status: | New → Confirmed |
Changed in unity-lens-applications (Ubuntu): | |
status: | New → Confirmed |
Changed in unity-lens-files: | |
status: | New → Confirmed |
Changed in unity-lens-applications (Ubuntu): | |
importance: | Undecided → Medium |
Changed in unity-lens-applications: | |
importance: | Undecided → Medium |
no longer affects: | unity-lens-files |
no longer affects: | unity-lens-files (Ubuntu) |
Changed in unity-lens-applications (Ubuntu): | |
assignee: | nobody → Didier Roche (didrocks) |
Changed in unity-lens-applications: | |
assignee: | nobody → Michal Hruby (mhr3) |
Changed in unity-lens-applications (Ubuntu Precise): | |
assignee: | Didier Roche (didrocks) → nobody |
Changed in unity-lens-applications: | |
status: | Confirmed → In Progress |
milestone: | none → 5.12.0 |
Changed in unity-lens-applications: | |
status: | In Progress → Fix Committed |
Changed in unity: | |
milestone: | none → 5.12.0 |
assignee: | Mikkel Kamstrup Erlandsen (kamstrup) → Michal Hruby (mhr3) |
status: | Confirmed → Fix Committed |
description: | updated |
Changed in unity: | |
status: | Fix Committed → Fix Released |
Changed in unity-lens-applications: | |
status: | Fix Committed → Fix Released |
tags: |
added: verification-done removed: verification-needed |
The problem here might be an "off-by-one" bug...
- alt+f2 and type "gvim", I get the results:
gvimdiff
gvimtutor
...whereas on the console command-line, typing "gvim"+TAB we have:
gvim <--- XXX: missing in unity
gvimdiff
gvimtutor
- alt+f2 and type "mumble" I get the results:
mumble-overlay
...whereas on the console command-line, typing "mumble"+TAB we have:
mumble <--- XXX: missing in unity
mumble-overlay