VictorZakharov / pinwin

.NET clone of DeskPins software
MIT License
175 stars 22 forks source link

Can't Pin Vivaldi - Program Crashes #24

Closed dfawcett234 closed 4 years ago

dfawcett234 commented 4 years ago

When I try to pin Vivaldi browser windows, the program has this unexpected error and crashes.

** Exception Text ** System.ComponentModel.Win32Exception (0x80004005): Error creating window handle. at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp) at System.Windows.Forms.Control.CreateHandle() at System.Windows.Forms.Form.CreateHandle() at System.Windows.Forms.Control.get_Handle() at System.Windows.Forms.Form.Show(IWin32Window owner) at PinWin.Controls.PinForm.ShowSetOwnerHandle(Form form, IntPtr ownerHandle) in C:\Git\pinwin\PinWin\Controls\PinForm.cs:line 166 at PinWin.Controls.PinForm.Create(IntPtr parentHandle) in C:\Git\pinwin\PinWin\Controls\PinForm.cs:line 57 at PinWin.BusinessLayer.PinFormFactory.TryAddPinned(IntPtr handle) in C:\Git\pinwin\PinWin\BusinessLayer\PinFormFactory.cs:line 57 at PinWin.Controls.PinnedWindowListControl.TryAddWindowFromPoint(Point point) in C:\Git\pinwin\PinWin\Controls\PinnedWindowListControl.cs:line 57 at PinWin.MainForm.PinWindowPrompt() in C:\Git\pinwin\PinWin\MainForm.cs:line 128 at PinWin.MainForm.notifyIcon_Main_MouseUp(Object sender, MouseEventArgs e) in C:\Git\pinwin\PinWin\MainForm.cs:line 182 at System.Windows.Forms.NotifyIcon.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.NotifyIcon.WmMouseUp(Message& m, MouseButtons button) at System.Windows.Forms.NotifyIcon.WndProc(Message& msg) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

** Loaded Assemblies ** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

PinWin Assembly Version: 0.2.4.0 Win32 Version: 0.2.4 CodeBase: file:///C:/Program%20Files%20(x86)/PinWin/PinWin.exe

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.4121.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 Assembly Version: 4.0.0.0 Win32 Version: 4.8.4001.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.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.4121.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 Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.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

Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

Newtonsoft.Json Assembly Version: 10.0.0.0 Win32 Version: 10.0.3.21018 CodeBase: file:///C:/Program%20Files%20(x86)/PinWin/Newtonsoft.Json.DLL

VictorZakharov commented 4 years ago

Learning new things every day. In general pinning browser windows should work fine, but I never tried on rarely used browsers such as yours. image I'll take a look when time allows.

VictorZakharov commented 4 years ago

Vivaldi works for me. image

@dfawcett234