Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: 紧凑型窗口关闭时出现溢出 #2404

Open
1 task done
fplj-fplj opened this issue Jan 26, 2025 · 1 comment
Open
1 task done

[Bug]: 紧凑型窗口关闭时出现溢出 #2404

fplj-fplj opened this issue Jan 26, 2025 · 1 comment
Labels
area-External 外部问题 area-WebView 网页视图 priority:none Priority not set

Comments

@fplj-fplj
Copy link

fplj-fplj commented Jan 26, 2025

Windows 版本

22631.3155

Snap Hutao 版本

1.13.0.0

设备 ID

F8093D9F501992B5F3D154F4EE892998

问题分类

其它

发生了什么?

Generated by Snap Hutao Diagnosis Tool
--------------------------------------
Windows version: 10.0.22631.3155
Public IP: 113.5.60.204
Your machine id: F8093D9F501992B5F3D154F4EE892998

Time: 2024-12-12T04:13:39.9903427Z
EventData: Application: Snap.Hutao.exe
CoreCLR Version: 9.0.24.52809
.NET Version: 9.0.0
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 00007FFBA76A53A8


Time: 2024-09-05T04:59:00.2633910Z
EventData: Application: Snap.Hutao.exe
CoreCLR Version: 8.0.524.21615
.NET Version: 8.0.5
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Stack:
   at WinRT.Context.CoGetContextToken(IntPtr*)
   at WinRT.Context.CoGetContextToken(IntPtr*)
   at ABI.System.ComponentModel.PropertyChangedEventHandler+NativeDelegateWrapper.Invoke(System.Object, System.ComponentModel.PropertyChangedEventArgs)
   at CommunityToolkit.Mvvm.ComponentModel.ObservableObject.OnPropertyChanged(System.ComponentModel.PropertyChangedEventArgs)
   at CommunityToolkit.Mvvm.ComponentModel.ObservableObject.OnPropertyChanged(System.String)
   at CommunityToolkit.Mvvm.ComponentModel.ObservableObject.SetProperty[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.__Canon, System.String)
   at Snap.Hutao.ViewModel.Abstraction.ViewModel.SetProperty[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.__Canon, System.String)
   at Snap.Hutao.ViewModel.TitleViewModel.set_UpdateStatus(Snap.Hutao.Service.Update.UpdateStatus)
   at Snap.Hutao.ViewModel.TitleViewModel.<DoCheckUpdateAsync>b__20_0(Snap.Hutao.Service.Update.UpdateStatus)
   at Snap.Hutao.Factory.Progress.DispatcherQueueProgress`1+<>c__DisplayClass3_0[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<Report>b__0()
   at ABI.Microsoft.UI.Dispatching.DispatcherQueueHandler.Do_Abi_Invoke(IntPtr)
   at ABI.Microsoft.UI.Xaml.IApplicationStaticsMethods.Start(WinRT.IObjectReference, Microsoft.UI.Xaml.ApplicationInitializationCallback)
   at Microsoft.UI.Xaml.Application.Start(Microsoft.UI.Xaml.ApplicationInitializationCallback)
   at Snap.Hutao.Program.Main(System.String[])

Image

你期望发生的行为?

恢复正常,另外请求在所有快捷键处增加按键识别,想betterGI一样

最后一步

  • 我认为上述的描述已经足以详细,以允许开发人员能复现该问题
@fplj-fplj fplj-fplj added the priority:none Priority not set label Jan 26, 2025
@dgp-bot
Copy link

dgp-bot bot commented Jan 26, 2025

device_id: F8093D9F501992B5F3D154F4EE892998

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 dgp-bot bot added the needs-triage 需要诊断问题类型 label Jan 26, 2025
@Lightczx Lightczx added area-External 外部问题 area-WebView 网页视图 and removed needs-triage 需要诊断问题类型 labels Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-External 外部问题 area-WebView 网页视图 priority:none Priority not set
Projects
None yet
Development

No branches or pull requests

2 participants