DGP-Studio / Snap.Hutao

实用的开源多功能原神工具箱 🧰 / Multifunctional Open-source Genshin Impact Toolkit 🧰
https://hut.ao
MIT License
4.03k stars 192 forks source link

[Bug]: 角色资料显示界面卡死 #1999

Closed adchoufeng closed 1 month ago

adchoufeng commented 1 month ago

检查清单

Windows 版本

22631.4169

Snap Hutao 版本

1.11.2.0

设备 ID

ED0EB0DB2ED7C122840E027013A8408C

问题分类

深境螺旋/胡桃数据库

发生了什么?

角色资料界面上方角色所需材料挡住时更改天赋等级并切换到其他角色查看所需材料有概率不显示并未响应

你期望发生的行为?

No response

最后一步

dgp-bot[bot] commented 1 month ago

@adchoufeng 请通过编辑功能设置一个合适的标题

dgp-bot[bot] commented 1 month ago

device_id: ED0EB0DB2ED7C122840E027013A8408C

Exception Data:
----------------------------------------
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at Snap.Hutao.UI.Shell.NotifyIconMethods.GetRect(Guid id, HWND hWND) in C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconMethods.cs:line 68
   at Snap.Hutao.UI.Shell.NotifyIconController.GetRect() in C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconController.cs:line 57
   at Snap.Hutao.UI.Windowing.XamlWindowController.IsNotifyIconVisible() in C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 151
   at Snap.Hutao.UI.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 114
   at WinRT._EventSource_global__Windows_Foundation_TypedEventHandler_object__global__Microsoft_UI_Xaml_WindowEventArgs_.EventState.<GetEventInvoke>b__1_0(Object sender, WindowEventArgs args)
   at WinRT.GenericTypeInstantiations.Windows_Foundation_TypedEventHandler_2_object__Microsoft_UI_Xaml_WindowEventArgs.Do_Abi_Invoke(IntPtr thisPtr, IntPtr sender, IntPtr args)
Exception Data:
----------------------------------------
System.ArgumentOutOfRangeException: Non-negative number required. (Parameter 'height')
   at Windows.Foundation.Size..ctor(Single width, Single height)
   at Windows.Foundation.Size..ctor(Double width, Double height)
   at Snap.Hutao.UI.Xaml.Control.Panel.UniformPanel.MeasureOverride(Size availableSize) in C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\src\Snap.Hutao\Snap.Hutao\UI\Xaml\Control\Panel\UniformPanel.cs:line 31
   at Microsoft.UI.Xaml.FrameworkElement.Microsoft.UI.Xaml.IFrameworkElementOverrides.MeasureOverride(Size availableSize)
   at ABI.Microsoft.UI.Xaml.IFrameworkElementOverrides.Do_Abi_MeasureOverride_0(IntPtr thisPtr, Size availableSize, Size* result)
--- End of stack trace from previous location ---
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32 hr)
   at ABI.Microsoft.UI.Xaml.IFrameworkElementOverridesMethods.MeasureOverride(IObjectReference _obj, Size availableSize)
   at Microsoft.UI.Xaml.FrameworkElement.MeasureOverride(Size availableSize)
   at Microsoft.UI.Xaml.FrameworkElement.Microsoft.UI.Xaml.IFrameworkElementOverrides.MeasureOverride(Size availableSize)
   at ABI.Microsoft.UI.Xaml.IFrameworkElementOverrides.Do_Abi_MeasureOverride_0(IntPtr thisPtr, Size availableSize, Size* result)
Exception Data:
----------------------------------------
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at Snap.Hutao.UI.Shell.NotifyIconMethods.GetRect(Guid id, HWND hWND) in C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconMethods.cs:line 68
   at Snap.Hutao.UI.Shell.NotifyIconController.GetRect() in C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconController.cs:line 57
   at Snap.Hutao.UI.Windowing.XamlWindowController.IsNotifyIconVisible() in C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 151
   at Snap.Hutao.UI.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 114
   at WinRT._EventSource_global__Windows_Foundation_TypedEventHandler_object__global__Microsoft_UI_Xaml_WindowEventArgs_.EventState.<GetEventInvoke>b__1_0(Object sender, WindowEventArgs args)
   at WinRT.GenericTypeInstantiations.Windows_Foundation_TypedEventHandler_2_object__Microsoft_UI_Xaml_WindowEventArgs.Do_Abi_Invoke(IntPtr thisPtr, IntPtr sender, IntPtr args)
dgp-bot[bot] commented 1 month ago

标题已经修改

github-actions[bot] commented 1 month ago

Probable Similar Topics

  1. 60% #189
dgp-bot[bot] commented 1 month ago

b3767bc1bffc79f14a4b6a0f3d7e030a55888cb3 已修复此问题

dgp-bot[bot] commented 1 month ago

包含解决该问题的程序版本 1.11.3 已发布。

github-actions[bot] commented 1 week ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topic.