Hello,
from time to time we get an unhandled exception from the DockManager telling that "A deffered show is already in progress".
What is the reason for this exception and how can it be fixed?
Here is the call stack:
[Window Title]
An unhandled exception has occured.
[Content]
System.InvalidOperationException: A deferred show is already in progress.
at Infragistics.Windows.Controls.ToolWindow.ShowImpl(FrameworkElement owner)
at Infragistics.Windows.Controls.ToolWindow.ShowAsync(FrameworkElement owner, Boolean activate, Boolean preferPopup)
at Infragistics.Windows.DockManager.DockManagerUtilities.ShowToolWindow(ToolWindow window, FrameworkElement owner, Boolean activate)
at Infragistics.Windows.DockManager.PaneToolWindow.ShowHelper()
at Infragistics.Windows.DockManager.PaneToolWindow.set_IsWindowLoaded(Boolean value)
at Infragistics.Windows.DockManager.XamDockManager.SetIsWindowLoaded(PaneToolWindow window, Boolean loaded)
at Infragistics.Windows.DockManager.XamDockManager.SetIsWindowLoaded(Boolean loaded)
at Infragistics.Windows.DockManager.XamDockManager.VerifyFloatingWindowVisibility()
at Infragistics.Windows.DockManager.XamDockManager.OnDockManagerLoaded(Object sender, RoutedEventArgs e)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
at MS.Internal.LoadedOrUnloadedOperation.DoWork()
at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)
at System.Windows.Interop.HwndTarget.OnResize()
at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(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 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Thank you for your post. I have been looking into it and I can say that if you could send us an isolated sample project, where the issue is reproduced and the steps we need to follow, we will be happy to assist you further.
Looking forward for your reply.
Hello Stefan,
unfortunately, the issue shows up sporadically. So it is not so easy to provide an isolated sample project with steps how to reproduce.
But if I google this issue I find several hits also related to the Infragistics DockManager, therefore I assume that this issue must already be known to the team. Could you please ask in the developer team, if this issue is known already?
BTW: We are using InfragisticsWPF4.DockManager.v11.1
Kind regards,
Rainer