WinPaletter
WinPaletter copied to clipboard
:x: [Error] Can't apply theme
:x: Error report
Describe the error
- When I try to apply theme, WinPlaetter crashes
How to reproduce the error
-
- open theme file I saved before update
-
- it prompt 2 JSON errors
-
- try to apply but it crashes
WinPaletter Log
//General information
//...........................................................
Report.Date = "2024년 2월 27일 화요일 오전 1:52:34";
OS = "Windows 11, 10.0.26058.1000, 64-bit";
WinPaletter.Version = "1.0.8.6, 베타, Build: Release";
WinPaletter.Language = "한국어(대한민국)";
WinPaletter.Debugging = false;
//Error details
//...........................................................
Exception.message = "Cannot access a disposed object.
Object name: 'Icon'.";
Exception.type = "System.ObjectDisposedException";
Exception.stack.trace =
{
at System.Drawing.Icon.get_Handle()
at System.Windows.Forms.Form.UpdateWindowIcon(Boolean redrawFrame)
at System.Windows.Forms.Form.set_Icon(Icon value)
at WinPaletter.Dialogs.ThemeLog.ThemeLog_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Form.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.Show()
at WinPaletter.Tabs.TabsContainer.AddFormIntoTab(Form form)
at WinPaletter.Dialogs.ThemeLog.Apply_Theme(Manager TM, Boolean AdditionalStoreTips, Boolean dontInvoke)
at WinPaletter.Home.apply_btn_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at WinPaletter.UI.WP.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at WinPaletter.UI.WP.Button.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
};
Exception.target.void_function = "System.Drawing.get_Handle()";
Exception.assembly = "System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
Exception.assembly.file = "C:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Drawing\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.Drawing.dll";
Exception.HRESULT = -2146232798;
Screenshots/Screen records
- Don't add screenshot to exception error dialog if you already wrote WinPaletter Log.
- If possible, add screenshots/Screen records of the wrong behaviour to help explain your problem.
Additional context
- After save the theme on 1.0.8.6, the JSON errors gone. Maybe only theme file saved on ~1.0.8.4 cause this? I don't know
+I'm testing more deflects, like wi-fi connected/disconnected, etc. I'll tell you as enhancement when I'm done :)