In the event handler for the TabTearOutWindowRequested event you return the AppWindow.ID of the new window by setting the event args property NewWindowID.
However although the event args type for the other three events TabTearOutRequested, ExternalTornOutTabsDropping and ExternalTornOutTabsDropped all contain a NewWindowID property, it's value is always zero (the default for the WindowID struct).
Describe the bug
In the event handler for the
TabTearOutWindowRequested
event you return the AppWindow.ID of the new window by setting the event args propertyNewWindowID
.However although the event args type for the other three events
TabTearOutRequested
,ExternalTornOutTabsDropping
andExternalTornOutTabsDropped
all contain aNewWindowID
property, it's value is always zero (the default for the WindowID struct).Repro project: TearOutTabs.zip
Steps to reproduce the bug
.
Expected behavior
I would have expected the
NewWindowID
property to be the id of the new tear out window.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