Giter Club home page Giter Club logo

everythingpowertoys's Introduction

╔═══━━━─── • ───━━━═══╗
⠀⠀You can find me on and .
╚═══━━━─── • ───━━━═══╝

everythingpowertoys's People

Contributors

bastienperez avatar daniel-richter avatar holek avatar jhqwqmc avatar jordy3d avatar konglongbt avatar lin-ycv avatar mike406 avatar sauler avatar shubhamroy96 avatar taaqif avatar welding-torch avatar xuanmi666 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

everythingpowertoys's Issues

[Request] Regular expression support

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?

[BUG] Setting.Options could be null

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.

_contextMenuLoader = new ContextMenuLoader(context, _setting.Options);

The following code would fail in this case:

foreach (string o in _options)

[BUG] the latest version of PowerToys changes the plugins folder

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:

  1. Update the PowerToy to v0.72.0
  2. The everything plugins does not work

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):

  • PowerToy: v0.72.0
  • Everything: V1.4.1.1024 (x64)
  • Windows: Windows 10 Enterprise LTSC 21H2 19044.3208

Additional context
Release page guidance should be updated to the new folder of plugins. And there is no need to modify any code.

[BUG] XmlDocument.Load fails in Update(Version v)

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

doc.Load(URL);

throws an exception in
private const string URL = "https://img.shields.io/github/v/release/lin-ycv/everythingpowertoys";
internal Update(Version v)
{
try
{
XmlDocument doc = new XmlDocument();
doc.Load(URL);

[BUG] Results disappear after every new character

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):

  • PowerToys: 0.73.0
  • Everything: 1.5.0.1356a
  • Windows: Windows 11 Pro 22H2 22621.2283

[BUG] System.MissingMethodException: Method not found: Boolean Wox.Infrastructure.Helper.OpenInShell(...)

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

  1. Press the Atl + Space key to open PowerToys Run.
  2. Input @Clash ext:exe
  3. Find the target item in the result list.
  4. Click on the small folder icon.

Screenshots
image

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):

  • PowerToy: v0.56.2
  • Everything: v1.4.1.105 (x64)
  • Windows: Windows 10 21H2 19044.1586

[BUG] 搜索结果很少

Describe the bug
Issue#23相同的问题,搜索结果很少,用 Everything 能搜出39个,但用 PowerToys只能搜出1个。

Screenshots
image
image
image

Logs
2022-09-05.txt

Version

  • PowerToy: v0.61.1
  • Everything: V1.4.1.1009
  • Windows: Windows11 21H2

Have folders show up in search results

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
image

[BUG] Dispatcher processing has been suspended, but messages are still being processed.

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:

  • Having "Preview" option enabled (the error does not appear when it's disabled)
  • Having a PDF file showing up in the search results

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
Unbenannt2
(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):

  • PowerToys.PowerLauncher, Version=0.64.1.0
  • Community.PowerToys.Run.Plugin.Everything, Version=0.64.0.0
  • Everything 1.4.1.1015
  • Windows: Windows 10 Pro 22H2

[BUG] Sometimes copying file path fails.

Describe the bug
Sometimes copying file path fails.

To Reproduce
Steps to reproduce the behavior:

  1. Open Power Toys
  2. Search for Files with Everything Plugin Prefix
  3. Click on Copy Path icon
  4. A pop-up window appears with the prompt 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
Snipaste_2023-05-17_11-23-06


2

Logs
2023-05-17.txt

Version (please provide the version of software you are using):

  • PowerToy: 0.69.1
  • Everything: 1.4.1.968
  • Windows: Win11 22H2 22621.1702

Find Folders

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.

[Request] 支持<>分组操作符

在Everything中,分组操作符<>的作用类似于大多数编程语言中的(),用于改变优先级,避免混淆。在EverythingPowerToys中它是不支持的,如果去掉<>,会造成逻辑错误,比如下面的例子:
<.jpg ceshi1>|<.png ceshi2>
image

含义为搜索所有ceshi1文件夹下面的jpg文件和ceshi2文件下的png文件,此时必须加一个<>来区分,如果去掉<>,这个逻辑就不生效了

在Everything中使用正常,本插件中无效

Snipaste_2022-11-04_20-16-34.png
Snipaste_2022-11-04_20-39-16.png
Snipaste_2022-11-04_20-43-54.png

[Request] Create a Chocolatey package for each release

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

Incorrect file icons shown

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:
img-2023-03-02-01-50-24
Powertoys Everything:
Untitled00-2

Version (please provide the version of software you are using):

  • PowerToys: 0.67.1 (EverythingPowerToys v0.66)
  • Everything: 1.4.1.1022
  • Windows: Windows 10 x64 22H2

[BUG] PowerToys crashes when trying to open a folder

Describe the bug
When searching for a file. Clicking on the Directory Icon causes a crash of Power Toys

To Reproduce

  • Open Power Toys
  • Search for Files with Everything Plugin Prefix
  • Click on Open Containing Folder icon

Expected behavior
Opens a Windows Explorer window with the folder the file is contained in

Screenshots
image

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)

Full Log

Version (please provide the version of software you are using):

  • PowerToy: 0.58.0.0
  • Everything: 1.4.1.1015 (x64)
  • Windows: Windows 11 Pro 22000.493

[BUG] Results disappear after every new character

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):

  • PowerToys: 0.64.1
  • Everything: 1.4.1.1022
  • Windows: Windows 11 Pro 22H2 22621.1819

提示everything is not running

我的电脑上已经安装了everything,但是当我使用Powertoys Run的时候,它依旧提示我everything is not running
1644457424(1)

[Request] Adding "Run as different user" context menu

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

  • You can use Wox.Infrastructure.Helper.RunAsUser(path).
  • You can find a code example in the program plugin.

[Request] arm version

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 --------------------------

[BUG] UI glitch occurs if the input filename is longer than search box

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:
img1

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:
img2

Expected behavior

  1. the auto-completion text should be placed correctly - a fix is expected.
  2. or add a toggle allowing the user to enable/disable auto-completion from Everything Plugin.

Logs (please upload or provide link to you log):
Log should not matter.

Version (please provide the version of software you are using):

  • Everything Plugin: 0.58-0.64 (the latest)
  • PowerToy: 0.62-0.64 (I can't remember before 0.62, so at least since 0.62)
  • Everything: V1.4.1.1022 (x64)
  • Windows: Windows 10 21H2/22H2

Additional context
Everything Plugin 0.56.2 or earlier version has no such issue as these old versions provides no auto-completion.

[BUG] Error when click "open contains in folder"

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:

  1. search for a file of folder
  2. click "open contains in folder"
  3. just see the error

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.
image
image

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):

  • PowerToy: 0.56.2.0
  • Everything: 1.4.1.1015
  • Windows: Windows 10 Pro 10.0.19044 Build 19044
    2022-03-18.txt

[Request] Exclude folders/filters from results

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).

[BUG] Failed to Load Everything Plugin

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:

  1. Go to the interface of PowerToys Run.
  2. Turn the "Everything" switch on.

Screenshots
图片

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):

  • PowerToy: 0.58.0
  • Everything: 1.4.1.1015 (x64)
  • Windows: Win11 Pro, 22H2, 22616.1

[Request] Copy file instead of path - change Ctrl+C to copy the file instead of copying the file path

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:

Clipboard.SetText(record.Path);

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.

NullReferenceException when disabling PowerToys Run

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

[Request] "Match path" enabled?

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/

Installation process?

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.

[Request] 好像不能支持 exe: zip: 等 操作

目前下面这些操作不支持,希望能得到支持。
因为无法像everything本体一样有菜单选项,所以下面的这样的搜索操作就成了必须支持的功能点
audio: | 搜索音频文件。
zip: | 搜索压缩文件。
doc: | 搜索文档文件。
exe: | 搜索可执行文件。
pic: | 搜索图片文件。
video: | 搜索视频文件。

[Request] Open Explorer Shell Context Menu

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:

  • The parameter ((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.
  • Context menu icon: More or ButtonMenu?

[BUG]Failed to load everything plugin

Describe the bug
Failed to load plugin

To Reproduce
Steps to reproduce the behavior:

  1. Go to Powertoys Run settings
  2. Enable Everything plugin
  3. See error.

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):

  • PowerToy: 0.58.0
  • Everything: 1.4.1.1015 (x64)
  • Windows: 21H2

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.

[Request] Result type priority setting

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.

[BUG]搜索结果没有文件夹以及结果很少?

为什么我的搜索结果里看不到文件夹之类的,然后搜索结果也比直接用everything少得多。
everything结果:
image
插件设置:
image
power run搜索结果:
image

是我打开的姿势不对吗:)

[Request] Set the default sorting method to access time descending

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.

Add support for Everything 1.5a

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.

Additional context
image

[BUG] Unable to open containing folder

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):

  • PowerToy: v0.59.1
  • Everything: 1.5.0.1315a
  • Windows: Windows 11 Home x64 21H2 (OS build 22000.778)

Additional context
Error.txt

[Request] Enable control over the update available dialogue popup

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.

[Request] Keeping track of RunCount

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

  • I changed the sorting method in settings.toml to 20
  • When I run something from everything (standalone), the runcount is incremented and I see that when I use Everything from Powertoys that those results are prioritized.
  • But when I start a search result from everything in powertoys, the runcount (as shown in everything-standalone) is not incremented

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.

能否支持exe图标自定义展示?

之前下载过一个版本叫Community.PowerToys.Run.Plugin.Everything,可以很好的支持exe和apk等图标展示

但是现在这个版本不支持
如下图:

image

image

一些可能与该插件无关的问题和bug,实在抱歉

如题,之前搜索“.minecraft”,只有一个结果是Minecraft UWP,然后删除原来的搜索内容再输入一个句号,结果PowerToys Run崩溃了,不停弹出报错窗口,电脑基本处于不可用状态。开发者辛苦了!

[BUG] results are not aligned with Everthing after setting sort=1

Describe the bug
in ver 0.72, setting sort=1 is usefull. After updated to 0.73, it's just not working

To Reproduce
like this
image

Expected behavior
results are aligned with Everthing

Version (please provide the version of software you are using):

  • PowerToy:0.73
  • Everything:V1.4.1.1024 (x64)
  • Windows:win11 22H2

[Request] Set sort method

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.