oliverschwendener / ueli

Cross-Platform Keystroke Launcher
https://ueli.app
MIT License
3.66k stars 242 forks source link

[Bug] ApplicationSearch does not work #1230

Closed Berrserker closed 3 weeks ago

Berrserker commented 1 month ago

Versions Ueli 9.6.0 Electron 32.1.0 Node.js 20.17.0 V8 12.8.374.26-electron.0

update from 8.29 -> 9.4 -> 9.6.1 app search on 9.* does not working, rescan and folders dont help

Berrserker commented 1 month ago

Снимок экрана 2024-10-10 в 16 53 06 Снимок экрана 2024-10-10 в 16 53 38 attachments/assets/1b21fb30-2bf2-4c7a-a102-6f92e76e64a3)

oliverschwendener commented 1 month ago

Can you show me your application search settings? You can find them in "Settings" => "Application Search"

Berrserker commented 1 month ago

Снимок экрана 2024-10-16 в 00 03 19

oliverschwendener commented 1 month ago

I assume you're using macOS?

Berrserker commented 1 month ago

yea

Berrserker commented 1 month ago

thats i tried:

mw-mcw commented 1 month ago

Hey there!

Same here Upgrade from 8.29 -> 9.7., on MacOS 14.7. My log is also empty. Thanks for any advice.

oliverschwendener commented 1 month ago

What happens if you add the following folder path to the application search settings: /System/Applications?

mw-mcw commented 1 month ago

Unfortunately this didn't do the trick. I added the following paths from the 8.29 version.

oliverschwendener commented 1 month ago

Does it help if you remove the cache folder?

$ rm -rf ~/Library/Application\ Support/ueli
Berrserker commented 1 month ago

Does it help if you remove the cache folder?

$ rm -rf ~/Library/Application\ Support/ueli

didnot effect and .. clear all my configs, but it doesnot help to find apps

Berrserker commented 1 month ago

think itis a last macos problem? maybe some settings rules need

oliverschwendener commented 1 month ago

Did you disable the spotlight search?

mw-mcw commented 1 month ago

Does it help if you remove the cache folder?

$ rm -rf ~/Library/Application\ Support/ueli

didnot effect and .. clear all my configs, but it doesnot help to find apps

Same on my system (14.7.). Unfortunately: no effect. With ueli 8.29 the app search feature worked totally fine. I also thought about maybe permissions-issues or something like that.

spotlight search is active on my system.

Berrserker commented 1 month ago

my spotlight is active to programs, system preferences, folders and docs, its works fine - so i sure that apple indexmashine is working ok

Berrserker commented 1 month ago

try use simple file search from - https://github.com/oliverschwendener/ueli/issues/1030 - doesnot work too

oliverschwendener commented 1 month ago

What output do you get when you execute this in your terminal?

$ mdfind "kMDItemKind == 'Application'"
Berrserker commented 1 month ago

Снимок экрана 2024-10-16 в 21 18 14

mw-mcw commented 1 month ago

try use simple file search from - #1030 - doesnot work too

this helped me as a workaround for the meantime. thanks for the hint!

$ mdfind "kMDItemKind == 'Application'"

did just output nothing on my machine:

Bildschirmfoto 2024-10-17 um 10 21 06

I don't want to unnecessarily spam or hijack this issue. Should I open another one in my case?

oliverschwendener commented 4 weeks ago

That seems to be the problem, you should be able to find all apps with this.

Can you try the following commands and check if you get any output?

$ mdfind "kMDItemKind == Application"

or

$ mdfind "kMDItemContentType == 'com.apple.application-bundle'"
mw-mcw commented 4 weeks ago

mdfind "kMDItemContentType == 'com.apple.application-bundle'"

this one lists all of my apps. the command above will also output nothing.

Berrserker commented 3 weeks ago

$ mdfind "kMDItemKind == Application" > nothing $ mdfind "kMDItemContentType == 'com.apple.application-bundle'" > ...(app list) /Applications/Safari.app /Applications/Vivaldi.app /Applications/Warp.app /Applications/Tower.app /Applications/Maccy.app /Applications/Telegram.app /Applications/Visual Studio Code.app /Applications/Ueli.app /Applications/GoLand.app /Applications/DataGrip.app /Applications/Rambox.app /System/Applications/Music.app ...

oliverschwendener commented 3 weeks ago

Thanks guys for your responses. I don't understand spotlight enough to understand what's better to use. Maybe the best option for now is adding an option in the settings that you can easly switch between between these commands. I'll keep you updated.

oliverschwendener commented 3 weeks ago

The next update will include an option to select one of the following filtering methods, which should solve the problem:

image
erhanbicer commented 1 week ago

Recently, I updated my macOS to version 15.1. After the update, even Spotlight couldn't find applications like Notion, WebStorm, etc. After running the commands below, both Spotlight and Ueli's application search started working again. @oliverschwendener

Step 1

sudo mdutil -a -i off

Step 2

sudo mdutil -a -i on