Skip to content

BUG: WebSearch Plugin Edit Search Source ArgumentOutOfRangeException #4036

@Dont-know-code

Description

@Dont-know-code

Checks

  • I have checked that this issue has not already been reported.

  • I am using the latest version of Flow Launcher.

  • I am using the prerelease version of Flow Launcher.

Problem Description

Flow Launcher version: 2.0.1
OS Version: 19045.6332
IntPtr Length: 8
x64: True

Python Path: C:\Users\Make an effort\AppData\Local\Programs\Python\Python313\pythonw.exe
Node Path: C:\Program Files\nodejs\node.exe

Date: 10/08/2025 14:10:38
Exception:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at System.Collections.ObjectModel.Collection`1.set_Item(Int32 index, T value)
at Flow.Launcher.Plugin.WebSearch.SearchSourceSettingWindow.EditSearchSource() in C:\projects\flow-launcher\Plugins\Flow.Launcher.Plugin.WebSearch\SearchSourceSetting.xaml.cs:line 111
at Flow.Launcher.Plugin.WebSearch.SearchSourceSettingWindow.OnConfirmButtonClick(Object sender, RoutedEventArgs e) in C:\projects\flow-launcher\Plugins\Flow.Launcher.Plugin.WebSearch\SearchSourceSetting.xaml.cs:line 77
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
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.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.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 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)

2025-10-08.txt

To Reproduce

  1. ...
  2. ...
  3. ...

Screenshots

No response

Flow Launcher Version

2.0.1

Windows Build Number

Microsoft Windows [版本 10.0.19045.6332]

Error Log

Replace this line with the important log contents.

Metadata

Metadata

Assignees

Labels

Waiting for responseWaiting for poster to respond to Team messagebugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions