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

TabViewItem header is weirdly rendered when scaling is above 100% #6497

Closed
1 of 2 tasks
zipgenius opened this issue Dec 19, 2021 · 5 comments
Closed
1 of 2 tasks

TabViewItem header is weirdly rendered when scaling is above 100% #6497

zipgenius opened this issue Dec 19, 2021 · 5 comments
Labels

Comments

@zipgenius
Copy link

Describe the bug

When screen scaling is set at 125% or above (sometimes the suggested configuration for many notebooks), the TabViewItem header has 4 rounded corners and a gradient background that souldn't be there.

Steps to reproduce the bug

  1. Create a new WindowsApp project;
  2. In MainWindow.xaml put a TabView with a TabViewItem, then run the app;
  3. Go to Start menu and open the Settings app, then go to System > Display > Scale & layout;
  4. If scaling is set to 100%, elevate to anything above it (125% is good enough);
  5. The TabViewItem header will transform in something weird.

Expected behavior

TabViewItem header should scale without any unexpected transformation

Screenshots

tabviewIssue

NuGet package version

No response

Windows app type

  • UWP
  • Win32

Device form factor

Desktop

Windows version

Insider Build (xxxxx)

Additional context

I observed this bug in Windows 11 build 22000 and Windows 11 Insider Build 22xxx.
Applying a custom style to the TabViewItem doesn't resolve.
No other workaround found.

@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Dec 19, 2021
@kmgallahan
Copy link
Contributor

#6194
#6207
#6419
#6475

@zipgenius
Copy link
Author

#6194 #6207 #6419 #6475

I thought they were all unrelated...

@zadjii-msft
Copy link
Member

This looks awfully a lot like #6076

@StephenLPeters
Copy link
Contributor

@gegao18 and @codendone FYI

@StephenLPeters StephenLPeters added product-winui3 WinUI 3 issues team-Rendering Issue for the Rendering team area-TabView labels Mar 2, 2022
@bpulliam bpulliam removed the needs-triage Issue needs to be triaged by the area owners label Dec 6, 2022
@github-actions
Copy link

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants