Jonno12345 / TileIconifier

Creates tiles for most Windows 8.1 and 10 start menu icons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unexpected Program Crash

Symber13 opened this issue · comments

I was creating a few custom shortcuts for Windows apps. After creating a shortcut for the 'Snip & Sketch' tool I went into the 'Custom Shortcut Manager'. From there I selected it and clicked 'Go to Selected Shortcut'. Boom. Crash. Repeatable.

TileIconifier Version: v3.1.1.2 - x64
OS Version: 10.0.19045.0 - x64
Administrator?: Yes

System.InvalidOperationException: Sequence contains no matching element
at System.Linq.Enumerable.First[TSource](IEnumerable1 source, Func2 predicate)
at TileIconifier.Forms.Main.FrmMain.JumpToShortcutItem(ShortcutItem shortcutItem)
at TileIconifier.Forms.Main.FrmMain.customShortcutManagerToolStripMenuItem_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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at TileIconifier.Program.Main()

Alright, solved it. There was a duplicate folder name in the directory. Weird way to handle this, but deleting both folders and creating the custom shortcut from scratch resolved everything. Shortcut works as expected and no more crash to desktop.