tjackenpacken / taskbar-groups

Lightweight utility for organizing the taskbar through groups
MIT License
2.43k stars 202 forks source link

Cannot add folder shortcuts to a group #153

Open ZuriPL opened 3 years ago

ZuriPL commented 3 years ago

When I add a folder shortcut, an error box appears with following text: (translating from polish)

"An unexcepted error occured. If you press Continue, the app will ignore the error and will try to continue. If you press Close, the app will be immediately closed."

And a path to the folder from the shortcut

After pressing Continue, everything works fine, and after pressing Close, the app closes and deletes all groups, while showing some errors before starting

(obligatory sorry for my English)

ZuriPL commented 3 years ago

It seems the whole app got corrupted due to this. Can't add any new groups or shortcuts

PikeNote commented 3 years ago

If possible, please provide the details of the crash, there should be a details button somewhere at the bottom of the dialog that pops up.

To better track it if possible, please see this build so I can better keep track of what needs to be fixed thusfar.

eincherjar commented 2 years ago

`** Tekst wyjątku ** System.IO.FileNotFoundException: C:\Users\MBarszcz\Desktop\SprawdzaczCen w System.Drawing.Icon.ExtractAssociatedIcon(String filePath, Int32 index) w client.Forms.frmGroup.handleLnkExt(String file) w C:\Users\jacks\Desktop\Taskbar dev\main\main\Forms\frmGroup.cs:wiersz 390 w client.User_controls.ucProgramShortcut.ucProgramShortcut_Load(Object sender, EventArgs e) w C:\Users\jacks\Desktop\Taskbar dev\main\main\User controls\ucProgramShortcut.cs:wiersz 64 w System.Windows.Forms.UserControl.OnLoad(EventArgs e) w System.Windows.Forms.UserControl.OnCreateControl() w System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) w System.Windows.Forms.Control.CreateControl() w System.Windows.Forms.Control.ControlCollection.Add(Control value) w client.Forms.frmGroup.LoadShortcut(ProgramShortcut psc, Int32 position) w C:\Users\jacks\Desktop\Taskbar dev\main\main\Forms\frmGroup.cs:wiersz 127 w client.Forms.frmGroup.addShortcut(String file, Boolean isExtension) w C:\Users\jacks\Desktop\Taskbar dev\main\main\Forms\frmGroup.cs:wiersz 225 w client.Forms.frmGroup.pnlAddShortcut_Click(Object sender, EventArgs e) w C:\Users\jacks\Desktop\Taskbar dev\main\main\Forms\frmGroup.cs:wiersz 174 w System.Windows.Forms.Control.OnClick(EventArgs e) w System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) w System.Windows.Forms.Control.WndProc(Message& m) w System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) w System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) w System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

** Zestawy załadowane ** mscorlib Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.4400.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

TaskbarGroups Wersja zestawu: 0.2.0.0 Wersja Win32: 0.2.0.0 CodeBase: file:///C:/Program%20Files/TaskbarGroups/TaskbarGroups.exe

System.Drawing Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.4390.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.4360.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Windows.Forms Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.4400.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Configuration Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.4190.0 built by: NET48REL1LAST_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.4390.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

mscorlib.resources Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_pl_b77a5c561934e089/mscorlib.resources.dll

Microsoft.GeneratedCode Wersja zestawu: 1.0.0.0 Wersja Win32: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Microsoft.CSharp Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.4084.0 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll

System.Dynamic Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.4084.0 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll

Anonymously Hosted DynamicMethods Assembly Wersja zestawu: 0.0.0.0 Wersja Win32: 4.8.4400.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll

System.Net.Http Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll

Windows.Data Wersja zestawu: 255.255.255.255 Wersja Win32: 10.0.10011.16384 CodeBase: file:///C:/WINDOWS/SysNative/WinMetadata/Windows.Data.winmd

System.Runtime Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.4084.0 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll

Windows.Foundation Wersja zestawu: 255.255.255.255 Wersja Win32: 10.0.10011.16384 CodeBase: file:///C:/WINDOWS/SysNative/WinMetadata/Windows.Foundation.winmd

ChinhDo.Transactions.FileManager Wersja zestawu: 1.4.0.36 Wersja Win32: 1.4.0.36 CodeBase: file:///C:/Program%20Files/TaskbarGroups/ChinhDo.Transactions.FileManager.DLL

netstandard Wersja zestawu: 2.0.0.0 Wersja Win32: 4.8.4084.0 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll

System.Transactions Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll

System.EnterpriseServices Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll

System.Windows.Forms.resources Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_pl_b77a5c561934e089/System.Windows.Forms.resources.dll

** Debugowanie w trybie JIT ** Aby włączyć debugowanie w trybie just in time (JIT), plik .config tej aplikacji lub komputera (machine.config) musi mieć wartość jitDebugging ustawioną w sekcji system.windows.forms. Aplikacja musi być również skompilowana z włączonym debugowaniem.

Na przykład:

`