Skip to content

search indexer #20

@lei9444

Description

@lei9444

Microsoft PowerToys version

main

Installation method

Other (please specify in "Steps to Reproduce")

Area(s) with issue?

Command Palette

Steps to reproduce

A bug occurred in the "Search files" extension's code:
Source array was not long enough. Check the source index, length, and the array's lower bounds. (Parameter 'sourceArray')
System.Private.CoreLib
at System.Array.CopyImpl(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at System.Collections.Generic.List`1.ToArray()
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.FetchItems()
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.InitializeProperties()
at Microsoft.CmdPal.UI.ViewModels.PageViewModel.InitializeAsync()

A bug occurred in the "Search files" extension's code:
Source array was not long enough. Check the source index, length, and the array's lower bounds. (Parameter 'sourceArray')
System.Private.CoreLib
at System.Array.CopyImpl(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at System.Collections.Generic.List`1.ToArray()
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.FetchItems()
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.InitializeProperties()
at Microsoft.CmdPal.UI.ViewModels.PageViewModel.InitializeAsync()

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

Additional Information

No response

Other Software

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions