-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes PreviousContainer got missing for LayoutAnchorable after float window is closed. #100
Comments
There is an error on my codes,I will resolve it today |
There is an error on my codes,I will resolve it today |
I tried a similar fix myself yesterday but failed with the same result its failing now 😞
System.InvalidOperationException
HResult=0x80131509
Message=Sequence contains no matching element
Source=System.Linq
StackTrace:
at System.Linq.ThrowHelper.ThrowNoMatchException()
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)
at TestApp.MainWindow.OnShowToolWindow1(Object sender, RoutedEventArgs e) in ...AvalonDock-master\source\TestApp\MainWindow.xaml.cs:line 199
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
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.DispatcherOperation.InvokeImpl()
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) |
Dirkster99
added a commit
that referenced
this issue
Jul 3, 2020
Closed the issue by accident - reopen since the issue is not fixed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TestApp
from this repo(a54b7d5);Tool Window 1
+2
) to the same float window;Tool Window 1
;Tool Window 2
to the top of the MainWindow;Tools/Tool Window 1
Expected:
It should still possbile to show
Tool Window 1
, either in an new float window or the same position asTool Window 2
;Actual:
Tool Window 1
can not be shown, and seePreviousContainerId
is missing from the output Layout.config;The text was updated successfully, but these errors were encountered: