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 TearOutTabs: Event args NewWindowID property's value is zero #10156

Open
DHancock opened this issue Nov 12, 2024 · 0 comments
Open

TabView TearOutTabs: Event args NewWindowID property's value is zero #10156

DHancock opened this issue Nov 12, 2024 · 0 comments
Labels
bug Something isn't working needs-triage Issue needs to be triaged by the area owners

Comments

@DHancock
Copy link

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 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).

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

@DHancock DHancock added the bug Something isn't working label Nov 12, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Nov 12, 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 needs-triage Issue needs to be triaged by the area owners
Projects
None yet
Development

No branches or pull requests

1 participant