dkgv / pinpoint

Keystroke launcher and personal command central. Alternative to Spotlight and Alfred for Windows. Alternative to Wox, PowerToys.
https://usepinpoint.com
GNU General Public License v3.0
155 stars 17 forks source link

App Stuck on "Loading Plugins" #133

Closed Dylan-Weber closed 2 years ago

Dylan-Weber commented 2 years ago

When opening pinpoint on my machine, the search bar is stuck displaying "Loading plugins..." Settings can still be opened and closed, and the search bar can be dragged, opened and closed using the hotkey "Alt + Space," but nothing can be typed into the bar.

My Specs: Processor: AMD Ryzen 5 2600X Six-Core Processor 3.60 GHz Installed RAM: 16.0 GB System type: 64-bit operating system, x64-based processor

Edition Windows 10 Home Version 20H2 OS build 19042.1466 Experience Windows Feature Experience Pack 120.2212.3920.0

Dylan-Weber commented 2 years ago

It seems like this issue goes away when I comment out the lines // Model.PluginEngine.AddPlugin(new AppSearchPlugin()), and Model.PluginEngine.AddPlugin(new TranslatePlugin()), in MainWindows.xaml.cs.

I'm not too familiar with C# (besides Unity), so I was unable to actually get debug output when running through dotnet run. If anyone could teach me how, that would be great! Thank you :)

Edit: Seems like outputs are appearing when I run through the debugger in VS Code. Hopefully I can isolate the issue this way :)

Dylan-Weber commented 2 years ago

These seem to be the problem:

Exception thrown: 'System.IndexOutOfRangeException' in Pinpoint.Plugin.AppSearch.dll
Exception thrown: 'System.IndexOutOfRangeException' in System.Private.CoreLib.dll
dkgv commented 2 years ago

Thanks!

I opened #135 to cover the more general issue of TryLoad causing loading to stall