bayleeadamoss / zazu

:rocket: A fully extensible and open source launcher for hackers, creators and dabblers.
http://zazuapp.org
MIT License
2.09k stars 168 forks source link

Result items don't match what i type on macOS #351

Closed acbetter closed 5 years ago

acbetter commented 5 years ago

Expected Behavior

image

Actual Behavior

image

Steps to reproduce the behavior

Toggle Zazu on and type "term".

Versions

Log

zazu.log.2019-07-15.zip

linonetwo commented 5 years ago

Are these results from plugin zazu-file-finder? I personally don't use this, because I feel Mac launchpad convenient.

But I will look into it, maybe next weekend.

acbetter commented 5 years ago

Are these results from plugin zazu-file-finder? I personally don't use this, because I feel Mac launchpad convenient.

But I will look into it, maybe next weekend.

Ye, seems from zazu-file-finder. Here's my settings file.

{
  "hotkey": "cmd+space",
  "theme": "Eric-Jackson/zazu-clement-theme",
  "displayOn": "detect",
  "plugins": [
    "tinytacoteam/zazu-calculator",
    "tinytacoteam/zazu-file-finder",
    "tinytacoteam/zazu-template",
    "tinytacoteam/zazu-system",
    "tinytacoteam/zazu-package-manager",
    {
      "name": "tinytacoteam/zazu-fallback",
      "variables": {
        "rootSearches": ["google"]
      }
    },
    {
      "name": "tinytacoteam/zazu-clipboard",
      "variables": {
        "ClipboardKey": "cmd+shift+v"
      }
    }
  ]
}
acbetter commented 5 years ago

The plugin zazu-file-finder used a module named fuzzyfind but I perfer string contain. Maybe can add one setting item something like:

{
  "hotkey": "cmd+space",
  "theme": "Eric-Jackson/zazu-clement-theme",
  "displayOn": "detect",
  "plugins": [
    "tinytacoteam/zazu-file-finder",
    {
      "name": "inytacoteam/zazu-file-finder",
      "variables": {
        "MatchingAlgorithm": "fuzzyfind", # or "stringcontain"
      }
    }
  ]
}
linonetwo commented 5 years ago

Ok, I will add it now.

linonetwo commented 5 years ago

It should be working now, update your plugin and config it:

{
      "name": "tinytacoteam/zazu-file-finder",
      "variables": {
        "matchBy": "stringincludes"
      }
    }
acbetter commented 5 years ago

After i deleted old plugin zazu-file-finder and installed a new one, it worked!!! Thanks very much!

acbetter commented 5 years ago

If you have a "Uncaught Exception" after updated to version 1.1.0 on macOS, here's Resolution

image