You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked the existing issues for an existing issue. I even actually looked at the ones that are pinned to the top!
Operating System
Windows 11 Home 23H2
CKAN Version
v1.35.2.24280
Games
KSP 1, KSP 2
Game Version
Any
Did you make any manual changes to your game folder (i.e., not via CKAN)?
No response
Describe the bug
Holding shift or control when applying the 'all' non-filter causes an unhandled exception.
Steps to reproduce
Load an instance of KSP 1/2 into CKAN
Open 'filters' dropdown menu
Move mouse over 'all' operation
Commence holding shift or control
Click
Unhandled exception
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Aggregate[TSource](IEnumerable`1 source, Func`3 func)
at CKAN.GUI.EditModSearches.MergeSearches(List`1 searches)
at CKAN.GUI.ManageMods.<>c__DisplayClass86_1.<Filter>b__1()
at CKAN.GUI.Util.Invoke[T](T obj, Action action)
at CKAN.GUI.ManageMods.Filter(SavedSearch search, Boolean merge)
at CKAN.GUI.ManageMods.FilterAllButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Is there an existing issue for this?
Operating System
Windows 11 Home 23H2
CKAN Version
v1.35.2.24280
Games
KSP 1, KSP 2
Game Version
Any
Did you make any manual changes to your game folder (i.e., not via CKAN)?
No response
Describe the bug
Holding shift or control when applying the 'all' non-filter causes an unhandled exception.
Steps to reproduce
CKAN/GUI/Controls/EditModSearches.cs
Line 99 in 54bdf68
The text was updated successfully, but these errors were encountered: