tjackenpacken / taskbar-groups

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

Doesn't work properly with double monitor #181

Open MrSabaku opened 2 years ago

MrSabaku commented 2 years ago

I have two monitors and I only have the taskbar activated in one, when I try open the taskbar group a .net framework error show up and the taskbar group doesn't show properly, is anyway on the display, but ir works correctly when I turn the taskbar on both monitors. I leave the error script down.

System.ArgumentOutOfRangeException

en System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) en client.frmMain.SetLocation() en C:\Users\jacks\Desktop\Taskbar dev\main\main\Forms\frmMain.cs:línea 100 en client.frmMain.frmMain_Load(Object sender, EventArgs e) en C:\Users\jacks\Desktop\Taskbar dev\main\main\Forms\frmMain.cs:línea 77 en System.Windows.Forms.Form.OnLoad(EventArgs e) en System.Windows.Forms.Form.OnCreateControl() en System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) en System.Windows.Forms.Control.CreateControl() en System.Windows.Forms.Control.WmShowWindow(Message& m) en System.Windows.Forms.Control.WndProc(Message& m) en System.Windows.Forms.ScrollableControl.WndProc(Message& m) en System.Windows.Forms.Form.WmShowWindow(Message& m) en System.Windows.Forms.Form.WndProc(Message& m) en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Google translate part.

Cuando esté habilitada la depuración JIT, cualquier excepción no controlada se enviará al depurador JIT registrado en el equipo en lugar de controlarlo mediante el cuadro de diálogo.

When JIT debugging is enabled, any unhandled exceptions will be sent to the JIT debugger registered on the computer instead of controlling it through the dialog box.

IcsZeta commented 2 years ago

Second this, program runs perfectly when Taskbar is active on multiple monitors, however doesn't work if Taskbar is located in one monitor only

martinkoncan commented 2 years ago

Try unplugging your monitor, that fixed it for me.