glsorre / amethystwindows

[ARCHIVED] Automatic tiling window manager for Windows 10/11
https://amethystwindows.com
MIT License
410 stars 24 forks source link

app crash #78

Closed divvy96 closed 1 year ago

divvy96 commented 2 years ago

app crashes before it finishes tiling the windows. The offending program is BESClient - which looks to be a IBM security and update platform. If i kill the app in windows explorer everything works fine, guessing it's trying to tile a window that doesn't technically exist Exception Info: System.IO.FileNotFoundException: C:\Program Files (x86)\BigFix Enterprise\BES Client\BESClientUI.exe at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName) at AmethystWindows.DesktopWindowsManager.DesktopWindow.GetAppName() in C:\Users\giuse\source\repos\glsorre\amethystwindows\AmethystWindows\DesktopWindowsManager\DesktopWindow.cs:line 198 at AmethystWindows.DesktopWindowsManager.DesktopWindowsManager.<CollectWindows>b__30_0(HWND windowHandle, IntPtr lparam) in C:\Users\giuse\source\repos\glsorre\amethystwindows\AmethystWindows\DesktopWindowsManager\DesktopWindowManager.windows.cs:line 72 at Vanara.PInvoke.User32.EnumWindows(EnumWindowsProc lpEnumFunc, IntPtr lParam) at AmethystWindows.DesktopWindowsManager.DesktopWindowsManager.CollectWindows() in C:\Users\giuse\source\repos\glsorre\amethystwindows\AmethystWindows\DesktopWindowsManager\DesktopWindowManager.windows.cs:line 113 at AmethystWindows.App.App_Activated(Object sender, EventArgs e) in C:\Users\giuse\source\repos\glsorre\amethystwindows\AmethystWindows\App.xaml.cs:line 34 at System.Windows.Application.OnActivated(EventArgs e) at System.Windows.Application.WmActivateApp(Int32 wParam) at System.Windows.Application.AppFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 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) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)