Crash trying to use pause screens

Issue #4865 resolved
Fred Decker created an issue

I am using beta 8. I try to use the J key to get pause working. It seems to work with a lag. And sometimes the pause screen moves up a bit, it doesn’t start centered. It is almost like it starts an inch down and slides up. Not always. Then when I try to exit pause, it shows flashes of LB or the game screen again. It is not properly blanking the windows. In any case, this error comes up:

Cannot set Visibility to Visible or call Show, ShowDialog, Close, or WindowInteropHelper.EnsureHandle while a Window is closing.

App: LaunchBox
Version: 9.8-beta-8
Type: System.InvalidOperationException
Site: Void VerifyNotClosing()
Source: PresentationFramework

at System.Windows.Window.VerifyNotClosing()
at System.Windows.Window.InternalClose(Boolean shutdown, Boolean ignoreCancel)
at (MainPauseView )
at Unbroken.LaunchBox.Wpf.Views.MainPauseView.CloseAndDispose()
at (<>c__DisplayClass271_0 )
at Unbroken.LaunchBox.Desktop.ViewModels.MainViewModel.<>c__DisplayClass271_0.<GamePause>b__1()
at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority)
at (Action , DispatcherPriority )
at Unbroken.LaunchBox.Wpf.Threading.Invoke(Action callback, DispatcherPriority priority)
at (MainViewModel )
at Unbroken.LaunchBox.Desktop.ViewModels.MainViewModel.GamePause()
at (KeyboardAutomation , Object , KeyboardHookEventArgs )
at Unbroken.LaunchBox.KeyboardAutomation.KeyEvent(Object sender, KeyboardHookEventArgs e)
at Unbroken.LaunchBox.LowLevelHooks.Keyboard.KeyboardHook.OnKeyEvent(KeyboardHookEventArgs e)
at Unbroken.LaunchBox.LowLevelHooks.Keyboard.KeyboardHook.OnKeyUp(KeyboardHookEventArgs e)
at (KeyboardHook , Int32 , IntPtr , IntPtr )
at Unbroken.LaunchBox.LowLevelHooks.Keyboard.KeyboardHook.KeyboardHookCallback(Int32 nCode, IntPtr wParam, IntPtr lParam)

Recent Log:

12:13:27 AM Music.Prepare Start
12:13:28 AM Music.Kill Start
12:13:28 AM Music.Kill Finished
12:13:28 AM Music.NotifyTrackList Start
12:13:28 AM Music.NotifyTrackList Invoke WPF
12:14:52 AM Music.Pause Start
12:14:52 AM Music.Prepare Start
12:14:52 AM Music.Kill Start
12:14:52 AM Music.Kill Finished
12:14:52 AM Music.NotifyTrackList Start
12:14:52 AM Music.NotifyTrackList Invoke WPF
12:15:39 AM Music.Pause Start
12:15:39 AM Music.Pause Start
12:16:49 AM Music.Pause Start
12:18:04 AM Exception

Comments (1)

  1. Log in to comment