It's not possible to define the property Owner for a closed window

Issue #6552 new
Tiago Massochin created an issue

An error suddenly appears!

Não é possível definir a propriedade Owner para uma Janela fechada.

App:     LaunchBox
Version: 12.4
Type:    System.InvalidOperationException
Site:    Void set_Owner(System.Windows.Window)
Source:  PresentationFramework

   at System.Windows.Window.set_Owner(Window value)
   at Unbroken.LaunchBox.Windows.Desktop.DialogTheming.Controls.MessageBox.Show(Window owner, IMessageBoxModel messageBoxModel)
   at DicWatcher.PrepareTransactionalConsumer(Window owner, IMessageBoxModel messageBoxModel, DicWatcher )
   at Unbroken.LaunchBox.Windows.Desktop.DialogTheming.Controls.MessageBox.Show(Window owner, String text, String caption, MessageBoxButton buttons, MessageBoxImage icon, MessageBoxResult defaultResult)
   at IssuerPublisher.PrepareTransactionalConsumer(Window owner, String text, String caption, MessageBoxButton buttons, MessageBoxImage icon, MessageBoxResult defaultResult, IssuerPublisher )
   at Unbroken.LaunchBox.Windows.Desktop.MessageBoxEx.Show(Window ownerWindow, String text, String caption, MessageBoxButton buttons, MessageBoxImage icon, MessageBoxResult defResult)
   at IssuerPublisher.PrepareTransactionalConsumer(Window owner, String text, String caption, MessageBoxButton buttons, MessageBoxImage icon, MessageBoxResult defaultResult, IssuerPublisher )
   at Unbroken.LaunchBox.Windows.Desktop.MessageBoxManager.ShowInfo(Window window, String info)
   at ConfigurationConfiguration.PrepareTransactionalConsumer(Window window, String info, ConfigurationConfiguration )
   at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditGameMetadataPageViewModel.RemoveFocusRef(List`1 spec)
   at ServerModel.PrepareTransactionalConsumer(Object , List`1 spec, ServerModel )
   at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditGameMetadataPageViewModel.<>c__DisplayClass279_0.SearchFocusSpecification()
   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.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 Unbroken.LaunchBox.Windows.Threading.Invoke(Action callback, DispatcherPriority priority)
   at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditGameMetadataPageViewModel.AssetTransactionalSystem(Object , DispatcherPriority )
   at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditGameMetadataPageViewModel.ChangeFocusRef()
   at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass0_0.QueryPrincipalBase(Object )
   at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass0_0.CountIdentifiableAnnotation()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ThreadHelper.ThreadStart()

Recent Log:

   11:17:43 Exception

Comments (0)

  1. Log in to comment