System.Runtime.InteropServices.COMException (0x80263001): {Desktop composition is disabled} #33950
Labels
Issue-Bug
Something isn't working
Needs-Triage
For issues raised to be triaged and prioritized by internal Microsoft teams
Microsoft PowerToys version
0.82.1.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
General, PowerToys Run
Steps to reproduce
It happens randomy last time I was just changing tab between my applications and my screen went black for 1-2 second. once it came back I received "PowerToys Run ran into an issue" bug screen here is screen
![image](https://private-user-images.githubusercontent.com/42850688/350793336-1cc5f463-5b95-474e-ba44-b5cfd23900e9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNjA5NDcsIm5iZiI6MTczOTI2MDY0NywicGF0aCI6Ii80Mjg1MDY4OC8zNTA3OTMzMzYtMWNjNWY0NjMtNWI5NS00NzRlLWJhNDQtYjVjZmQyMzkwMGU5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDA3NTcyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFkZWQwMjg0ODU1MjJkYTZlNzA4YTBmODJmZTZlOGU2N2ZlOWY1N2UzZjMxYTFlYWU5MWNkYWFiZDU4YTExZWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.HGa788hg7BU7S5dr02Ps3HDMWfupQR024Lely1oTdZ8)
`
Version: 0.82.1.0
OS Version: Microsoft Windows NT 10.0.22631.0
IntPtr Length: 8
x64: True
Date: 7/21/2024 10:47:07 PM
Exception:
System.Runtime.InteropServices.COMException (0x80263001): {Desktop composition is disabled} The operation could not be completed because desktop composition is disabled. (0x80263001)
at Standard.NativeMethods.DwmExtendFrameIntoClientArea(IntPtr hwnd, MARGINS& pMarInset)
at System.Windows.Shell.WindowChromeWorker._ExtendGlassFrame()
at System.Windows.Shell.WindowChromeWorker._UpdateFrameState(Boolean force)
at System.Windows.Shell.WindowChromeWorker._HandleDwmCompositionChanged(WM uMsg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Shell.WindowChromeWorker._WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
`
and here is log.txt file
2024-07-21.txt
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response
The text was updated successfully, but these errors were encountered: