microsoft / microsoft/microsoft-ui-xaml
TabView TearOutTabs: New window is moved at exponential speed
- Dominant language
- C++
- Stars
- 8.4k
- Forks
- 942
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 105
Description
### Describe the bug
When the new window has been created with a new tab in it, it will move with some kind of multiple of the mouse movement if it is a tab at the end of the tab list, and there are more than two tabs present. Please see the attached screen clip for an example.
The same happens if the first tab is dragged, but the window is moved to the left on the screen instead.
The same thing appears to happen always if the created window's tabview is empty (no tabs) when created.
### Steps to reproduce the bug
See TabTearOutExample on GitHub:
https://github.com/[bjorn-malmo/bug-free-happiness](https://github.com/bjorn-malmo/bug-free-happiness)
### Expected behavior
_No response_
### Screenshots
https://github.com/user-attachments/assets/f77d2be6-6e56-477f-a6e0-5f135bd81005
### NuGet package version
WinUI 3 - Windows App SDK 1.6.3: 1.6.241114003
### Windows version
Windows 11 (24H2): Build 26100
### Additional context
_No response_
Contributor guide
Research direction
Start by reproducing the issue with the linked TabTearOutExample, focusing on TabView tear-out behavior with tabs at the beginning or end of a list and with an empty tab view. Trace the window movement handling for those cases. Done means the new window follows the pointer at normal speed in each described scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100