elementary / elementary/applications-menu
Wrong application is opened when typing quickly
- Dominant language
- Vala
- Stars
- 103
- Forks
- 40
- Avg merge
- 32m
- Merged PRs (30d)
- 2
Description
When I press ⌘Space, I (in most cases) know exactly what application I want to open, so I quickly type out the first few letters of its name and press enter. In most cases, this will open the correct application but not always: When I type out the name *very* quickly — which is not uncommon when knowing exactly what to type — a different application that only matches the first two or three letters is opened because the list has not yet refreshed at the time I press Enter.
### How to reproduce
1. Use Loki (*Scratch* required for this example, there are also others)
2. Type `scr`
3. Wait until results are loaded (*Scratch* and *Screenshot*)
4. Type the fourth letter of the second result (`a` or `e`)
5. Quickly press Enter afterwards
6. _The wrong app — the first result of the "old" search — will be opened_
### How this could be fixed
When the user presses Enter, Wingpanel could check whether there's an ongoing search and if so, wait until that has finished and open its first result.
I know this is not a huge deal, but I know how important UX is to you guys (and I highly appreciate the efforts you make because of that), so I thought I'd report it anyway.
Contributor guide
Assessment
This issue has not been assessed yet.