Resuming/logging back in from idle-time screen-off shows PowerToys reported error #36081
Labels
Issue-Bug
Something isn't working
Resolution-Duplicate
There's another issue on the tracker that's pretty much the same thing.
Microsoft PowerToys version
0.86.0.0
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
General
Steps to reproduce
✔️ Expected Behavior
Not expecting to see error message. Or if seeing error message, at least expecting more easily-understood error message.
❌ Actual Behavior
"Something went wrong." dialog is displayed, requesting "Please file a bug in the PowerToys GitHub repository."
Error message contents:
`
Version: 0.86.0.0
OS Version: Microsoft Windows NT 10.0.19045.0
IntPtr Length: 8
x64: True
Date: 2024-11-24 07:00:42 AM
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)
`
Log file contents:
`[2024-11-24 07:00:41.4654] [FATAL]
Exception
Environment
Assemblies - PowerToys.PowerLauncher
`
Other Software
No response
The text was updated successfully, but these errors were encountered: