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
A new window is returned to the tear out code by the TabTearOutWindowRequested event handler. This window is then shown before being immediately hidden and it's z order changed (presumably behind the original window). I'm not sure what's causing the window to be shown, although it is being activated as well.
In a packaged app this results in noticeable flickering, the window glow border switches on and off and the apps task bar icon animates (at least on win 11).
In an unpackaged app in addition to the above, showing a new window for the first time triggers a window entrance animation. The animation lasts approximately half a second, both defeating the immediate hiding of the new window and making the entire feature unusable. See the giff below.
It would be even worse in the repero app if I hadn't added code to limit the number of new windows created in the TabTearOutWindowRequested event handler.
Describe the bug
A new window is returned to the tear out code by the
TabTearOutWindowRequested
event handler. This window is then shown before being immediately hidden and it's z order changed (presumably behind the original window). I'm not sure what's causing the window to be shown, although it is being activated as well.In a packaged app this results in noticeable flickering, the window glow border switches on and off and the apps task bar icon animates (at least on win 11).
In an unpackaged app in addition to the above, showing a new window for the first time triggers a window entrance animation. The animation lasts approximately half a second, both defeating the immediate hiding of the new window and making the entire feature unusable. See the giff below.
It would be even worse in the repero app if I hadn't added code to limit the number of new windows created in the TabTearOutWindowRequested event handler.
Repro project: TearOutTabs.zip
Steps to reproduce the bug
.
Expected behavior
The window shouldn't be made visible.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.6.1: 1.6.240923002
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response
The text was updated successfully, but these errors were encountered: