Skip to content

[WinUI3] TabView TabTearOut API makes regular tabs flicker on click #10883

@Pupp3t33r

Description

@Pupp3t33r

Describe the bug

I might be misunderstanding something but both the official WinUI3 Gallery app and all the .net conf videos I found on the topic propose the same implementation of Tab tear out functionality. However, looking even just a little bit closer, I found that TabTearOutWindowRequested event fires immediately on click. As a result screen flickers every time user switches tabs by clicking them. It also crashes after a few clicks but let's focus on one thing at a time here.
Am I supposed write around it somehow? If so does anyone have a working example?

Steps to reproduce the bug

  1. Download WinUI3 Gallery app
  2. Go to Navigation -> TabView
  3. Go to the last example: "Complete TabView windowing sample"
  4. Switch between tabs clicking on them

Expected behavior

Tab tear out events fire when tab is dragged out of the TabView element.

Screenshots

TabView2.mp4

NuGet package version

Windows App SDK 1.8.3: 1.8.251106002

Packaging type

No response

Windows version

Windows 10 version 22H2 (19045, 2022 Update)

IDE

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions