Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Some search functions freeze current search results and cause a crash after disabling and re-enabling #569

Open
2 tasks done
cheatreal321 opened this issue Feb 1, 2025 · 0 comments

Comments

@cheatreal321
Copy link

cheatreal321 commented Feb 1, 2025

Preflight Checklist

  • I have fully read the README and it did not solve the problem.
  • I have searched all open and closed issues for the same bug report without success.

EverythingToolbar Version

1.5.1.0

Everything Version

1.5.0.1391a (x64)

Windows Version

W10 Enterprise LTSC IoT 21H2 (19044.5371)

Steps to reproduce

  1. Install latest version of Everything
  2. Run Everything
  3. Install latest version of EverythingToolbar
  4. Enable EverythingToolbar from taskbar context menu or via Launcher
  5. Open EverythingToolbar search and type in a search query with a function right at the beginning such as artist:, datemodified:, or comment:
  6. No results are shown, or if there was already a previous search query the displayed results stay there
  7. No other search works until Explorer is restarted. Alternatively, disabling and re-enabling EverythingToolbar from the taskbar context menu and then trying to bring it up causes a crash (see log below).

Expected Behavior

All functions listed here are fully supported and do not cause freezing of search results or crashes

Actual Behavior

Most functions cause the above described issue

Screenshots

Image

Log output

2025-02-01 18:31:40.7929|INFO|Deskband|EverythingToolbar 1.5.1.0 started. OS: Microsoft Windows NT 10.0.19044.0|
2025-02-01 18:31:52.2143|INFO|EverythingToolbar.EverythingSearch|Setting Everything instance name: 1.5a|
2025-02-01 18:31:52.2153|INFO|EverythingToolbar.EverythingSearch|Everything version: 1.5.0|
2025-02-01 18:32:51.3943|INFO|Deskband|EverythingToolbar 1.5.1.0 started. OS: Microsoft Windows NT 10.0.19044.0|
2025-02-01 18:32:52.0869|ERROR|Deskband|Unhandled exception|System.NullReferenceException: Object reference not set to an instance of an object.
   at EverythingToolbar.Controls.SearchBox.Focus() in D:\a\EverythingToolbar\EverythingToolbar\EverythingToolbar\Controls\SearchBox.xaml.cs:line 112
   at EverythingToolbar.Controls.SearchBox.OnFocusRequested(Object sender, EventArgs e) in D:\a\EverythingToolbar\EverythingToolbar\EverythingToolbar\Controls\SearchBox.xaml.cs:line 43
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at EverythingToolbar.SearchWindow.OnActivated(Object sender, EventArgs e) in D:\a\EverythingToolbar\EverythingToolbar\EverythingToolbar\SearchWindow.xaml.cs:line 49
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Window.OnActivated(EventArgs e)
   at System.Windows.Window.WmActivate(IntPtr wParam)
   at System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(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)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
2025-02-01 18:32:52.0939|ERROR|Deskband|Unhandled exception|System.NullReferenceException: Object reference not set to an instance of an object.
   at EverythingToolbar.Controls.SearchBox.Focus() in D:\a\EverythingToolbar\EverythingToolbar\EverythingToolbar\Controls\SearchBox.xaml.cs:line 112
   at EverythingToolbar.Controls.SearchBox.OnFocusRequested(Object sender, EventArgs e) in D:\a\EverythingToolbar\EverythingToolbar\EverythingToolbar\Controls\SearchBox.xaml.cs:line 43
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at EverythingToolbar.SearchWindow.OnActivated(Object sender, EventArgs e) in D:\a\EverythingToolbar\EverythingToolbar\EverythingToolbar\SearchWindow.xaml.cs:line 49
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Window.OnActivated(EventArgs e)
   at System.Windows.Window.WmActivate(IntPtr wParam)
   at System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(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)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
2025-02-01 18:33:12.4902|INFO|EverythingToolbar.EverythingSearch|Setting Everything instance name: 1.5a|
2025-02-01 18:33:12.4902|INFO|EverythingToolbar.EverythingSearch|Everything version: 1.5.0|

Additional Information

Not all functions cause this issue. For example, empty:, size:, and ext: are fine.
The issue is also very inconsistent. Sometimes the issue does not occur when typing in a sufficiently long word before entering the function, sometimes merely typing in the function is enough to cause a crash, and sometimes deleting the function with Ctrl+Backspace causes a crash.
The log output always looks to be the exact same, however.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant