daniellandau / switcher

Gnome Shell extension to switch windows quickly by typing
GNU General Public License v3.0
352 stars 43 forks source link

Longer matches should have higher priority / make fuzzy matching more case-insensitive #104

Closed curusarn closed 4 years ago

curusarn commented 4 years ago

First of all, thanks fo this extension, it is awesome.

I keep running into a problem where the fuzzy matching is too "fuzzy" and matches other windows before the desired one.

In the pic below, I type "mess" to match "Messenger" and instead of getting it as a first result in the list it comes in second.

"Messenger" is the longest match so it should come in first imho. I'm not sure if this has something to do with the fact that "Messenger" starts with a capital letter.

Screenshot of the situation:

IMG_20200417_154809

curusarn commented 4 years ago

Oh, I realized this is due to "Most recent" ordering.

The issue disappeared when I switched to "Most relevant" ordering.