microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
109.89k stars 6.48k forks source link

[pt run] ArgumentOutOfRangeException #6081

Closed kunalsahu18 closed 3 years ago

kunalsahu18 commented 4 years ago
Version: 0.20.1 OS Version: Microsoft Windows NT 10.0.19041.0 IntPtr Length: 8 x64: True Date: 08/21/2020 02:58:24 Exception: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'itemIndex') at System.Windows.Controls.VirtualizingStackPanel.BringContainerIntoView(ItemsControl itemsControl, Int32 itemIndex) at System.Windows.Controls.VirtualizingStackPanel.BringIndexIntoView(Int32 index) at System.Windows.Controls.ItemsControl.OnBringItemIntoView(ItemInfo info) at System.Windows.Controls.ItemsControl.OnBringItemIntoView(Object arg) at System.Windows.Controls.ListBox.ScrollIntoView(Object item) at PowerLauncher.MainWindow.SuggestionsList_SelectionChanged(Object sender, SelectionChangedEventArgs e) at System.Windows.Controls.SelectionChangedEventArgs.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.RaiseEvent(RoutedEventArgs e) at System.Windows.Controls.ListBox.OnSelectionChanged(SelectionChangedEventArgs e) at System.Windows.Controls.Primitives.Selector.InvokeSelectionChanged(List`1 unselectedInfos, List`1 selectedInfos) at System.Windows.Controls.Primitives.Selector.SelectionChanger.End() at System.Windows.Controls.Primitives.Selector.SelectionChanger.SelectJustThisItem(ItemInfo info, Boolean assumeInItemsCollection) at System.Windows.Controls.Primitives.Selector.OnSelectedIndexChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue) at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange) at System.Windows.Data.BindingExpression.ScheduleTransfer(Boolean isASubPropertyChange) at MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange) at MS.Internal.Data.ClrBindingWorker.OnSourcePropertyChanged(Object o, String propName) at MS.Internal.Data.PropertyPathWorker.OnPropertyChanged(Object sender, PropertyChangedEventArgs e) at System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType) at System.ComponentModel.PropertyChangedEventManager.OnPropertyChanged(Object sender, PropertyChangedEventArgs args) at Wox.Plugin.BaseModel.OnPropertyChanged(String propertyName) at PowerLauncher.ViewModel.ResultsViewModel.set_SelectedIndex(Int32 value) at PowerLauncher.ViewModel.MainViewModel.<>c__DisplayClass139_0.b__1() 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) [2020-08-21.txt](https://github.com/microsoft/PowerToys/files/5105620/2020-08-21.txt) ## ℹ Computer information - PowerToys version: - PowerToy Utility: - Running PowerToys as Admin: - Windows build number: [run "winver"] ## 📝 Provide detailed reproduction steps (if any) 1. … 2. … 3. … ### ✔️ Expected result _What is the expected result of the above steps?_ ### ❌ Actual result _What is the actual result of the above steps?_ ## 📷 Screenshots _Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form_
crutkas commented 4 years ago

@kunalsahu18 can you describe a bit more what was happening when this occured?

crutkas commented 4 years ago

This should be resolved in our 0.21.1 release of PowerToys. https://github.com/microsoft/PowerToys/releases/tag/v0.21.1 to download it.

alekhyareddy28 commented 4 years ago

@crutkas, this is in master and not a part of the latest release. Do I reopen it?

crutkas commented 4 years ago

Just reopened. It was assigned to .21 so I assumed it was checked in.

ghost commented 4 years ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

crutkas commented 3 years ago

Fixed in 0.23 of PowerToys. https://github.com/microsoft/PowerToys/releases/