Skip to content
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

TabView tabs reorder and drop don't work properly in Avalonia 11.2.0 #622

Open
manfromarce opened this issue Nov 7, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@manfromarce
Copy link
Contributor

Describe the bug
When updating to Avalonia 11.2.0 TabView tabs can't be reordered or dropped from another window back to the original window. In some cases an exception is also thrown:
'Method not found: 'Void Avalonia.Controls.Primitives.IPopupHost.ConfigurePosition(Avalonia.Visual, Avalonia.Controls.PlacementMode, Avalonia.Point, Avalonia.Controls.Primitives.PopupPositioning.PopupAnchor, Avalonia.Controls.Primitives.PopupPositioning.PopupGravity, Avalonia.Controls.Primitives.PopupPositioning.PopupPositionerConstraintAdjustment, System.Nullable1<Avalonia.Rect>)'.'`
This can be reproduced with any TabView where CanReorderTabs=true; or when running the TabView windowing sample in the sample app a new window is always created if you try to reorder tabs, probably the hit test fails and TabDroppedOutsided is invoked.

Screenshots
fluentavalonia_bugreport

Desktop/Platform (please complete the following information):

  • OS: tested on Windows 11, WSL (Debian) and Wasm
  • FluentAvalonia Version 2.1.0 (latest)
  • Avalonia Version 11.2.0

Additional context
This bug is not present in Avalonia 11.1.4 and below, so they probably changed something in the core framework which broke drag and drop. I will try to investigate the cause and provide more information.

@manfromarce manfromarce added the bug Something isn't working label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant