You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a regression introduced in Avalonia 11.2.0 that prevents moving a TextBox from one window into another window. Each attempt is met with the following exception being thrown: "System.ArgumentException: 'Attempt to call InvalidateArrange on wrong LayoutManager.'".
The bug was introduced with Avalonia version 11.2.0: I have tested with the version 11.1.5 and the bug was not present, while it is there in versions 11.2.0 through 11.2.3.
The issue might be related to #12753 as it throws a similar exception in a similar context, although it seems to have been fixed (at least partially) since I have no issue moving buttons from one window to another.
To Reproduce
Create a Window with a UserControl that contains a TextBox
Create another Window and move the UserControl into it
An Exception is thrown
Expected behavior
Being able to move a UserControl with a TextBox between two windows.
Avalonia version
11.2.0 - 11.2.3
OS
Windows
Additional context
I have attached a sample project for Visual Studio 2022. The application shows a window with two tabs: one with a textbox, one without. When attempting to detach the tab to a floating window, the one with the textbox throws an exception, while the other one works fine. AvaloniaSampleProject.zip
The text was updated successfully, but these errors were encountered:
Describe the bug
There is a regression introduced in Avalonia 11.2.0 that prevents moving a TextBox from one window into another window. Each attempt is met with the following exception being thrown: "System.ArgumentException: 'Attempt to call InvalidateArrange on wrong LayoutManager.'".
The bug was introduced with Avalonia version 11.2.0: I have tested with the version 11.1.5 and the bug was not present, while it is there in versions 11.2.0 through 11.2.3.
The issue might be related to #12753 as it throws a similar exception in a similar context, although it seems to have been fixed (at least partially) since I have no issue moving buttons from one window to another.
To Reproduce
Expected behavior
Being able to move a UserControl with a TextBox between two windows.
Avalonia version
11.2.0 - 11.2.3
OS
Windows
Additional context
I have attached a sample project for Visual Studio 2022. The application shows a window with two tabs: one with a textbox, one without. When attempting to detach the tab to a floating window, the one with the textbox throws an exception, while the other one works fine.
AvaloniaSampleProject.zip
The text was updated successfully, but these errors were encountered: