microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.4k stars 6.56k forks source link

FancyZones Editor crash #13829

Closed t-johnson closed 3 years ago

t-johnson commented 3 years ago

Microsoft PowerToys version

0.47.1

Running as admin

Area(s) with issue?

FancyZones Editor

Steps to reproduce

I was defining a custom zone layout on a monitor that is rotated vertically. Not sure exactly whether i would be able to reproduce the issue as i can't recall exactly the steps i took... However i don't think anything bad actually happened? my zone layout was saved and works?

✔️ Expected Behavior

No crashes?

❌ Actual Behavior

A crash was reported. Log file is attached: FZEditorCrashLog.txt

Other Software

No response

franky920920 commented 3 years ago

Expection in the log file

Exception

System.ComponentModel.Win32Exception: Invalid window handle.
   Source: WindowsBase
   TargetAssembly: WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
   TargetModule: WindowsBase.dll
   TargetSite: Void HookUpDefWindowProc(IntPtr)
   at MS.Win32.ManagedWndProcTracker.HookUpDefWindowProc(IntPtr hwnd)
   at MS.Win32.ManagedWndProcTracker.OnAppDomainProcessExit()
   at MS.Win32.ManagedWndProcTracker.ManagedWndProcTrackerShutDownListener.OnShutDown(Object target, Object sender, EventArgs e)
   at MS.Internal.ShutDownListener.HandleShutDown(Object sender, EventArgs e)
   at System.AppContext.OnProcessExit()

Environment

franky920920 commented 3 years ago

Duplicate of #13105

franky920920 commented 3 years ago

Thanks for reporting this. This issue is a duplicate. We'll track this in #13105 to centralize the discussion thread.