Exception:{已禁用桌面合成} 操作无法完成,因为已禁用桌面合成。 (异常来自 HRESULT:0x80263001)

报错信息 1
COMException: {已禁用桌面合成} 操作无法完成,因为已禁用桌面合成。 (异常来自 HRESULT:0x80263001)
StackTrace:
   在 Standard.NativeMethods.DwmExtendFrameIntoClientArea(IntPtr hwnd, MARGINS& pMarInset)
   在 System.Windows.Shell.WindowChromeWorker._ExtendGlassFrame()
   在 System.Windows.Shell.WindowChromeWorker._UpdateFrameState(Boolean force)
   在 System.Windows.Shell.WindowChromeWorker._HandleDwmCompositionChanged(WM uMsg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Shell.WindowChromeWorker._WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndSource.PublicHooksFilterMessage(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)

版本:1.43.0 2024-07-03 01:10 Microsoft Windows NT 10.0.22631.0
版本:1.43.0 2024-07-01 10:06 Microsoft Windows NT 10.0.22000.0
版本:1.43.0 2024-07-01 00:15 Microsoft Windows NT 10.0.22631.0
版本:1.43.0 2024-06-19 14:58 Microsoft Windows NT 10.0.19044.0
版本:1.43.0 2024-06-15 18:18 Microsoft Windows NT 10.0.22631.0
版本:1.43.0 2024-06-14 18:06 Microsoft Windows NT 10.0.19045.0
版本:1.43.0 2024-06-14 17:33 Microsoft Windows NT 10.0.22000.0
版本:1.43.0 2024-06-14 13:30 Microsoft Windows NT 10.0.19043.0