-
-
Notifications
You must be signed in to change notification settings - Fork 109
Description
Describe the bug
Multiple clicks on Growl.InfoGlobal, including others, will be captured by the global exception handler. Version 3.6.
TargetInvocationException: 调用的目标发生了异常。
Stack Trace:
在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
在 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
在 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
在 System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
在 System.Windows.Interop.HwndMouseInputProvider.HasCustomChrome(HwndSource hwndSource, RECT& rcClient)
在 System.Windows.Interop.HwndMouseInputProvider.GetEffectiveClientRect(IntPtr hwnd)
在 System.Windows.Interop.HwndMouseInputProvider.PossiblyDeactivate(IntPtr hwndCapture, Boolean stillActiveIfOverSelf)
在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
在 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
在 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
在 System.Windows.Application.RunDispatcher(Object ignore)
在 System.Windows.Application.RunInternal(Window window)
在 XCore.App.Main()
Win32Exception: 0x80070578
Stack Trace:
在 Standard.HRESULT.ThrowIfFailed(String message)
在 Standard.HRESULT.ThrowLastError()
在 Standard.NativeMethods.GetWindowRect(IntPtr hwnd)
在 System.Windows.Shell.WindowChromeWorker.GetEffectiveClientArea(RECT& rcClient)
Steps to reproduce the bug
Create a button that continuously clicks Growl.InfoGlobal("GrowlInfo").
Expected behavior
Additionally, when the window is enlarged, there is a period of white flickering. On a white desktop background, this flickering is most noticeable in night mode.
Screenshots
Create a button that continuously clicks Growl.InfoGlobal("GrowlInfo").
NuGet package version
None
IDE
Visual Studio 2022
Framework type
.Net 8.0, .Net Framework 4.8
Windows version
Windows 11 (22621)
Additional context
No response
