╔═══━━━─── • ───━━━═══╗
⠀⠀You can find me on and .
╚═══━━━─── • ───━━━═══╝
lin-ycv / everythingpowertoys Goto Github PK
View Code? Open in Web Editor NEWEverything search plugin for PowerToys Run
License: Eclipse Public License 2.0
Everything search plugin for PowerToys Run
License: Eclipse Public License 2.0
Thanks for your nice tool! I wonder if you can support it with regular expression for file searching?
Everything supports regular expression, so is it possible to add that feature to this plugin?
Describe the bug
If _setting.Options
is null (what it is by default), ContextMenuLoader.LoadContextMenus
will throw an exception.
To Reproduce & Version
Run the plugin(?) with version ef6154b
Additional context
When creating a new ContextMenuLoader
, _setting.Options
is null or at least could be null.
Line 80 in 3ec0ddc
The following code would fail in this case:
EverythingPowerToys/ContextMenuLoader.cs
Line 39 in 3ec0ddc
首先感谢开发者的辛勤付出。目前插件各方面都表现良好,就是缺少点击“打开所属文件夹”按钮后跳转到explorer时自动选中对应文件的功能,希望楼主能够加上。谢谢!
Describe the bug
The latest version v0.72.0 of PowerToys changes the plugins folder to C:\Program Files\PowerToys\RunPlugins
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The everything plugins works as usual.
Screenshots
No screeshots.
Logs (please upload or provide link to you log):
There is no need to provide log.
Version (please provide the version of software you are using):
Additional context
Release page guidance should be updated to the new folder of plugins. And there is no need to modify any code.
Describe the bug
On startup, a message box displays an error message.
System.Net.Http.HttpRequestException: An error occurred while sending the request.
---> System.IO.IOException: The read operation failed, see inner exception.
---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception.
---> System.ComponentModel.Win32Exception (0x80090326): Das Format der empfangenen Nachricht war unerwartet oder fehlerhaft.
--- End of inner exception stack trace ---
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.ReplyOnReAuthenticationAsync[TIOAdapter](Byte[] buffer, CancellationToken cancellationToken)
at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](Memory`1 buffer, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](Memory`1 buffer, CancellationToken cancellationToken)
at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async)
at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.GetStreamAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Xml.XmlDownloadManager.GetNonFileStreamAsync(Uri uri, ICredentials credentials, IWebProxy proxy)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy)
at System.Xml.XmlTextReaderImpl.OpenUrl()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at Community.PowerToys.Run.Plugin.Everything.Update..ctor(Version v)
To Reproduce & Version
Run the plugin(?) with version ef6154b
Additional context
The following line
Line 16 in 3ec0ddc
Lines 10 to 16 in 3ec0ddc
Describe the bug
See #36.
With Powertoys 0.73.0 the issue should've been fixed, though some plugins still cause flickering upon typing, like Everything.
microsoft/PowerToys#22490 (comment)
It might be necessary to adjust some lines of code.
Version (please provide the version of software you are using):
Exception
Version: 0.56.2.0
OS Version: Microsoft Windows NT 10.0.19044.0
IntPtr Length: 8
x64: True
Date: 2022/3/28 9:10:30
Exception:
System.MissingMethodException: Method not found: 'Boolean Wox.Infrastructure.Helper.OpenInShell(System.String, System.String, System.String, Boolean, Boolean)'.
at Community.PowerToys.Run.Plugin.Everything.ContextMenuLoader.<>c__DisplayClass6_0.<CreateOpenContainingFolderResult>b__0(ActionContext _)
at PowerLauncher.ViewModel.ResultViewModel.<>c__DisplayClass32_0.<LoadContextMenu>b__0(Object _)
at PowerLauncher.ViewModel.RelayCommand.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
To Reproduce
Atl + Space
key to open PowerToys Run
.@Clash ext:exe
Logs:
C:\Users\Administrator\AppData\Local\Microsoft\PowerToys\PowerToys Run\Logs\2022-03-28.txt
Version (please provide the version of software you are using):
Describe the bug
与Issue#23相同的问题,搜索结果很少,用 Everything 能搜出39个,但用 PowerToys只能搜出1个。
Logs
2022-09-05.txt
Version
Is your feature request related to a problem? Please describe.
When searching, EverythingPowerToys returns file results, but not folders.
Describe the solution you'd like
Search a folder name and have that folder name show up in the results.
Describe alternatives you've considered
I use the Everything app to find a folder if I need to find its contents.
Additional context
Should be able to search "Downloads" and have that come up in the search results with PowerToys Run
Describe the bug
For certain search queries the error message box ("System.InvalidOperationException: Dispatcher processing has been suspended, but messages are still being processed.") appears. Depending on the query, there are a lot of error message windows that cause the whole system to freeze.
To Reproduce
I could track it down to the following:
The strange thing is: I search (the first time) for "thesis.pdf" - the error message box appears; I close it. I search for "thesis.pdf" aggain - the error message does not appear, all search results are displayed correctly.
It feels like a error message is issued per PDF file in the search results. I am not sure if it is limited to PDF files only. I tried both Acrobat Preview Handler and Powertoys File Preview Handler for PDF. Edit: see next comment.
Screenshots
(The big black rectangle is the shadow of 1241 error message windows...)
Logs (please upload or provide link to you log):
2022-11-29 15:28:00.6366] [WARN] [C:\a\_work\1\s\src\modules\launcher\PowerLauncher\Plugin\PluginManager.cs::207]
PluginManager.QueryForPlugin Window Walker. Query cost - 72 milliseconds
[2022-11-29 15:28:00.7650] [WARN] [C:\a\_work\1\s\src\modules\launcher\PowerLauncher\Plugin\PluginManager.cs::207]
PluginManager.QueryForPlugin Program. Query cost - 62 milliseconds
[2022-11-29 15:28:01.0765] [WARN] [C:\a\_work\1\s\src\modules\launcher\PowerLauncher\Plugin\PluginManager.cs::207]
PluginManager.QueryForPlugin Everything. Query cost - 311 milliseconds
[2022-11-29 15:28:01.3972] [FATAL]
## Exception
System.InvalidOperationException: Dispatcher processing has been suspended, but messages are still being processed.
Source: WindowsBase
TargetAssembly: WindowsBase, Version=6.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
TargetModule: WindowsBase.dll
TargetSite: IntPtr WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
## Environment
* Command Line: "C:\Program Files\PowerToys\modules\launcher\PowerToys.PowerLauncher.dll" -powerToysPid 10828 --started-from-runner
* Timestamp: 11/29/2022 15:28:01
* Wox version: 0.64.1.0
* OS Version: Microsoft Windows NT 10.0.19045.0
* IntPtr Length: 8
* x64: True
* CLR Version: 6.0.11
* Installed .NET Framework:
* v4 Client 4.8.04084
* v4 Full 4.8.04084
* v4.0 Client 4.0.0.0
Version (please provide the version of software you are using):
Describe the bug
Sometimes copying file path fails.
To Reproduce
Steps to reproduce the behavior:
Cannot set the text in the clipboar
, and when checking the clipboard, the desired path to be copied is not found.Expected behavior
Copying file path always successfully without any pop-up window appearing.
Screenshots
Logs
2023-05-17.txt
Version (please provide the version of software you are using):
I can only search up individual files, not folders. I would like to be able to search for folders. My Everything settings is set to have folders in my results.
Additionally, I am unsure what "Path - search path in additional to file/folder name" setting does. I was hoping that was the setting to toggle on and off, but have found no difference in the results with it on or off.
Any help on this would be helpful. And thank you for working on this much needed plug-in, its very appreciated.
Is your feature request related to a problem? Please describe.
Using Chocolatey religiously for new computer installs and update management I get Everything Search and Powertoys installed automatically, but not this great plugin as it requires manual download, unzip and config within Powertoys' settings.
Describe the solution you'd like
It would be fantastic to be able to auto-install this amazing plugin via a chocolatey package for automatic installation. Using a github action to automatically create and maintain the chocolatey package could be possible too. https://community.chocolatey.org/packages?q=everything
如题
Describe the bug
Search results often have generic file type icons attached to them. For me, it always happens with .lnk files and media files associated with MPC-HC and Windows Photo Viewer. It's problematic because Windows creates a lot of .lnk files for the benefit of the task view file history, and it's impossible to tell those links from the actual files without glancing at the full path and file name.
Expected behavior
.lnk files should have icons that represent their file type with a little arrow attached to them, media files should have the player icon. This is the way it is done in Everything. I'm not sure if the regular Windows search shows those link files, perhaps it's even better to drop them from search results altogether or downgrade them in sorting rankings if possible.
Screenshots
Everything:
Powertoys Everything:
Version (please provide the version of software you are using):
Describe the bug
When searching for a file. Clicking on the Directory Icon causes a crash of Power Toys
To Reproduce
Expected behavior
Opens a Windows Explorer window with the folder the file is contained in
Logs (please upload or provide link to you log):
Error:
Version: 0.58.0.0
OS Version: Microsoft Windows NT 10.0.22000.0
IntPtr Length: 8
x64: True
Date: 17/05/2022 2:57:02 PM
Exception:
System.MissingMethodException: Method not found: 'Boolean Wox.Infrastructure.Helper.OpenInShell(System.String, System.String, System.String, Boolean)'.
at Community.PowerToys.Run.Plugin.Everything.ContextMenuLoader.<>c__DisplayClass6_0.<CreateOpenContainingFolderResult>b__0(ActionContext _)
at PowerLauncher.ViewModel.ResultViewModel.<>c__DisplayClass32_0.<LoadContextMenu>b__0(Object _)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Version (please provide the version of software you are using):
Describe the bug
When typing into the search bar of PowerToys Run, the results list appears, then disappears and reappears with each new character typed. Typing fast leads to the results list flashing intensively, which is really distracting.
This does not happen using other plugins.
Expected behavior
When results are found, the results list should not disappear after another character has been added. Instead, the old results should remain until new ones have been found and then directly be replaced by them without a delay between removing the old entries and adding the new ones.
Version (please provide the version of software you are using):
Is your feature request related to a problem? Please describe.
Sometimes you have to open apps as admin. And in some situations you need to switch the user (when uac is off).
Describe the solution you'd like
A new context menu button to invoke the RunAsUser command for application files.
Describe alternatives you've considered
No answer.
Additional context
Wox.Infrastructure.Helper.RunAsUser(path)
.Describe the bug
the plugin could not load well
-------------------------- Begin exception --------------------------
Message: Couldn't load assembly for Everything in C:\Program Files\PowerToys\modules\launcher\Plugins\Everything\Community.PowerToys.Run.Plugin.Everything.dll
Exception full name : System.IO.FileLoadException
Exception message : Could not load file or assembly 'Community.PowerToys.Run.Plugin.Everything, Version=0.66.0.0, Culture=neutral, PublicKeyToken=null'.
Exception stack trace:
at System.Runtime.Loader.AssemblyLoadContext.g____PInvoke|5_0(IntPtr ptrNativeAssemblyBinder, UInt16* ilPath, UInt16* niPath, ObjectHandleOnStack retAssembly)
at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
at Wox.Plugin.PluginPair.CreatePluginInstance()
Exception source : System.Private.CoreLib
Exception target site: Void g____PInvoke|5_0(IntPtr, UInt16*, UInt16*, System.Runtime.CompilerServices.ObjectHandleOnStack)
Exception HResult : -2146232799
-------------------------- End exception --------------------------
Is your feature request related to a problem? Please describe.
When you install EverythingPowerToys package, no deps are installed, so it doesn't work ootb
Describe the solution you'd like
Install dependencies
Describe alternatives you've considered
Manual install. Not cool : )
Describe the bug
UI glitch occurs if the input filename is longer than search box.
To Reproduce
When the input filename is shorter than the search box, the completion suggestion works fine:
However once the filename exceeds the length of the search box, auto-completion text is positioned incorrectly and interleave with search text, making the text difficult to read:
Expected behavior
Logs (please upload or provide link to you log):
Log should not matter.
Version (please provide the version of software you are using):
Additional context
Everything Plugin 0.56.2 or earlier version has no such issue as these old versions provides no auto-completion.
Describe the bug
Sometimes, this plugin will report a bub and can't open the folder of the search result.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
none folder will be open, and an error dialog appeared, just as shown below.
Screenshots
If applicable, add screenshots to help explain your problem.
Logs (please upload or provide link to you log):
Logs can be generated by right clicking the taskbar icon > Report Bug
or be found at
%localappdata%\Microsoft\PowerToys\PowerToys Run\Logs
Version: 0.56.2.0
OS Version: Microsoft Windows NT 10.0.19044.0
IntPtr Length: 8
x64: True
Date: 2022/3/18 18:30:20
Exception:
System.MissingMethodException: Method not found: 'Boolean Wox.Infrastructure.Helper.OpenInShell(System.String, System.String, System.String, Boolean, Boolean)'.
at Community.PowerToys.Run.Plugin.Everything.ContextMenuLoader.<>c__DisplayClass6_0.b__0(ActionContext _)
at PowerLauncher.ViewModel.ResultViewModel.<>c__DisplayClass32_0.b__0(Object _)
at MS.Internal.Command
2022-03-18.txt
s.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Version (please provide the version of software you are using):
Would it be possible to exclude files/folders/filters from the displayed results (without modifiying Everthings's own exclude list)?
Is your feature request related to a problem? Please describe.
I know, there is an exclude feature directly in Everything. With "full" Everything, I want to search all files on my computer - but with PowerToys, I do not want to see results from all files and folders on my machine (e.g. AppData, temp, .git, .svn, ...).
Describe the solution you'd like
I would like to have the possibility to customize specific Everything for PowerToys filter lists (e.g. in settings.toml).
Describe the bug
The Everything plugin cannot be loaded by PowerToys. When I reboot PT or turn on the Everything plugin individually in PT, it reports "Fail to Load Everythin Plugin".
To Reproduce
Steps to reproduce the behavior:
Logs
[2022-05-11 12:42:48.7596] [ERROR] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::204]
-------------------------- Begin exception --------------------------
Message: Fail to Init plugin: Everything
Exception full name : System.TypeInitializationException
Exception message : The type initializer for 'Community.PowerToys.Run.Plugin.Everything.NativeMethods' threw an exception.
Exception stack trace:
at Community.PowerToys.Run.Plugin.Everything.NativeMethods.EverythingSetup()
at Community.PowerToys.Run.Plugin.Everything.Main.Init(PluginInitContext context)
at Wox.Plugin.PluginPair.InitPlugin(IPublicAPI api)
Exception source : Community.PowerToys.Run.Plugin.Everything
Exception target site: Void EverythingSetup()
Exception HResult : -2146233036
Exception full name : System.IndexOutOfRangeException
Exception message : Index was outside the bounds of the array.
Exception stack trace:
at Community.PowerToys.Run.Plugin.Everything.NativeMethods.GetFileTypeAndIcon()
at Community.PowerToys.Run.Plugin.Everything.NativeMethods..cctor()
Exception source : Community.PowerToys.Run.Plugin.Everything
Exception target site: System.Collections.Hashtable GetFileTypeAndIcon()
Exception HResult : -2146233080
-------------------------- End exception --------------------------
Version (please provide the version of software you are using):
Is your feature request related to a problem? Please describe.
Currently, there is an context menu item "Copy path to clipboard" associated with Ctrl+C. There were only a few scenarios where I need the path of a found file. Instead I tend to use the file itself.
Adding an option to copy the file instead of copying the file path to the clipboard would be a solution (or feasible workaround) for microsoft/PowerToys#4462. Changing the default behaviour of the Ctrl+C to that would solve microsoft/PowerToys#13006
Describe the solution you'd like
Currently, copy the file's path to the clipboard is implemented as follows:
EverythingPowerToys/ContextMenuLoader.cs
Line 63 in f0372aa
Changing that line as follows would copy the complete file.
Clipboard.SetData(DataFormats.FileDrop, new string[] { record.Path });
Since "copy path to clipboard" is still a useful feature (but maybe not as default), an additional ContextMenuResult would be required.
Describe alternatives you've considered
Use the context menu item "open containing folder" and copy/drag&drop the file would solve the problem, too. But that is too many unnecessary steps.
When turning off the PowerToys search toggle It crashes with a NullReferenceException that Originates from the Everything plugin
Version: 0.56.2.0
OS Version: Microsoft Windows NT 10.0.22000.0
IntPtr Length: 8
x64: True
Date: 8/03/2022 2:40:20 PM
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Community.PowerToys.Run.Plugin.Everything.Main.Dispose(Boolean disposing)
at Community.PowerToys.Run.Plugin.Everything.Main.Dispose()
at PowerLauncher.Plugin.PluginManager.Dispose()
at PowerLauncher.App.<>c__DisplayClass22_0.<Dispose>b__0()
at Wox.Infrastructure.Stopwatch.Normal(String message, Action action)
at PowerLauncher.App.Dispose(Boolean disposing)
at PowerLauncher.App.Dispose()
at PowerLauncher.App.ExitPowerToys(App app)
at PowerLauncher.App.<>c__DisplayClass13_0.<Main>b__0()
at System.Threading.Thread.StartCallback()
full log can be found here
Awesome plugin, thanks.
Could there be a way to have "Match Path" enabled?
In Everything with "Match Path" enabled, if you are searching for 123.txt in C:\ABC, you can quickly filter search for it by typing "12 AB"
In Run, typing 12 AB nullifies the search. Very useful to filter results if you have similar filenames in different paths...
Currently in Run, you have to manually prefix "path:" before any extra path parameter:, eg type "path:AB 12".
I managed to change the Everything_GetSort value since you added it in the Settings file, so perhaps this could also be added to the Settings file?
https://www.voidtools.com/support/everything/sdk/everything_getmatchpath/
Hi, i'm new to Github, sorry if i'm doing anything wrong.
I tried following the instructions in your readme file, but did not see any improvements in the search of the powertoys run. Am i missing some steps that might be implicit? Do i need to install something, restart something? tweak some settings in the Everything program, for this to work? i only did what is written in the readme file; i downloaded the Everything program and installed it, i downloaded your repo and extracted the whole folder into the right folder and nothing else.
Again, sorry if this query landed in the wrong place.
目前下面这些操作不支持,希望能得到支持。
因为无法像everything本体一样有菜单选项,所以下面的这样的搜索操作就成了必须支持的功能点
audio: | 搜索音频文件。
zip: | 搜索压缩文件。
doc: | 搜索文档文件。
exe: | 搜索可执行文件。
pic: | 搜索图片文件。
video: | 搜索视频文件。
Is your feature request related to a problem? Please describe.
In Everything, a right clicking a file/folder in the results opens up the Windows Explorer context menu. It would be nice to have this possibility in EverythingPowerToys, too.
Describe the solution you'd like
Does not have to be a right click. A new context menu button to open the Windows Explorer shell context menu would be great.
Additional context
E.g. the code provided in CodeProject: Explorer Shell Context Menu - Add the Windows Explorer Shell Context Menu to your application is very easy to integrate:
ShellContextMenu shellContextMenu = new ShellContextMenu();
FileInfo[] fileInfos = new[] { FileInfo(path) };
shellContextMenu.ShowContextMenu(fileInfos , this.PointToScreen(new Point(this.button1.Left,this.button1.Top)));
Open questions:
((Control.ModifierKeys & Keys.Shift) != 0 ? CMF.EXTENDEDVERBS : 0)
(calling QueryContextMenu
) checks whether [Shift] is pressed and displays the extended context menu. Maybe displaying the extended context menu as default would be a nicer solution.Describe the solution you'd like
Add a setting item to customize the number of search results.
文件一多就显示不全
Describe the bug
Failed to load plugin
To Reproduce
Steps to reproduce the behavior:
Screenshots
https://i.imgur.com/cxjR1e2.png
Logs (please upload or provide link to you log):
Powertoys Error Log 2022-05-22.txt
Version (please provide the version of software you are using):
Additional context
Occurred after attempting to update to 0.58.0 revision 2 of the plugin. I've attempted doing a clean install of Powertoys, but haven't had success.
Is your feature request related to a problem? Please describe.
I just started using PowerToys Run and immediately attached this plugin to it. I love it so far but the one thing i hate is that i can't sort things that i want to display. For example, when i search for program, it shows files first and then the .exe itself.
Describe the solution you'd like
I want to customize those priorities to my taste. For example to display .exe files first, then folders, then files and even sort individual file extensions (but that's not a core of this FR)
Describe alternatives you've considered
There's none sadly, just to use Search Everything which defeats purpose of EverythingPowerToys
Additional context
In Search Everything app for Windows, there's feature that will mark your last selected option (in list of things that the search found) if you already search for that string and opened file / program with it. For example, when i search for program, then select -> open it, and then after some time i will open Search Everything again and search for same string again, it would automatically mark my last selected option. I would like to see that feature in EverythingPowerToys too, in such a form like it would offer my last selected option as the first result in PowerToys Run window.
Is your feature request related to a problem? Please describe.
It's not a problem.
Describe the solution you'd like
This is to discuss whether we can set the factory default sorting method from 14 (modified time desc) to 24 (access time desc) in settings.toml
.
A major usage of the plugin is to quick access any exe program, especially if they are not included in the start menu.
Currently, desc sorting by modified time won't top list any exe program as they're not modified.
You must add additional keyword like "exe" to filter them particularly .
Descending sorting by access time make it easier by top listing them once accessed, so you won't need to type "exe" next time.
Since modifying files will mostly update access time, sorting by access time can be regarded as a super set of sorting by modified time.
Of course, the users can modify the sorting method by themselves in settings.toml
.
But I expect to make 24 as the factory default so I (and probably many others) won't need to maually change it (e.g. new PC).
Describe alternatives you've considered
None
Additional context
If it's agreed, I can submit the PR.
Is your feature request related to a problem? Please describe.
Everything 1.5a became very stable and many are using it instead of 1.4 as it has way more features, it is not detected though by your plugin.
Describe the solution you'd like
please add support to it (it comes with so many additional features).
Describe alternatives you've considered
or allow specifying the path of the executable in your plugin so anyone decides what version they would like to use and many are using multiple versions for several reasons like offline database of a NAS etc that can be specified in .ini file.
Describe the bug
Search some file and click on Open containg folder icon or Ctrl-Shift-E
An message box "Something went wrong" comes.
See the attache file error.txt
Expected behavior
The folder conating the found file should open.
Screenshots
Logs (please upload or provide link to you log):
Version (please provide the version of software you are using):
Additional context
Error.txt
For users who don't feel the need to update frequently, it would be nice to have the option to "Skip this version" or toggle "Search for updates automatically at startup", or ideally both. Especially since all the popup does is take you to the Releases page, there's no reason it should be mandatory for the user to see that.
Is your feature request related to a problem? Please describe.
I want to Everything in PowerToys to update the RunCount in Everything so that often used results ascend to the top of the search list
Describe the solution you'd like
I wonder if it is possible to have the everything plugin in powertoys modify the everything database to keep track of runcount.
The SDK has Everything_SetRunCountFromFileName and Everything_GetResultRunCount. I just hope the plugin structure of powertoys allows for this
Describe alternatives you've considered
manually searching the results I wish to prioritize in everything-standalone works, but is not a practical solution.
如题,之前搜索“.minecraft”,只有一个结果是Minecraft UWP,然后删除原来的搜索内容再输入一个句号,结果PowerToys Run崩溃了,不停弹出报错窗口,电脑基本处于不可用状态。开发者辛苦了!
Describe the bug
in ver 0.72, setting sort=1 is usefull. After updated to 0.73, it's just not working
Expected behavior
results are aligned with Everthing
Version (please provide the version of software you are using):
The sort order of my results from Everything is very important to me and currently it looks like this plugin is only sorting by date modified descending. Is there any way we can have the sort method be selectable either in the Plugin interface for PowerToys Run itself or by using an alternate version of this plugin?
There are two braking changes that come with v0.75.0 of PowerToys Run:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.