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

Reset to default system titlebar is broken #9732

Open
HO-COOH opened this issue Jun 15, 2024 · 3 comments
Open

Reset to default system titlebar is broken #9732

HO-COOH opened this issue Jun 15, 2024 · 3 comments
Labels
area-TitleBar Issues related to custom window title bars. bug Something isn't working team-CompInput Issue for IXP (Composition, Input) team

Comments

@HO-COOH
Copy link

HO-COOH commented Jun 15, 2024

Describe the bug

Simply set ExtendsContentIntoTitleBar=true then set it back to false, now you have a broken system titlebar. The inactive color is the same as active, and caption button foreground color is also bugged.
This issue only occurs on Windows 11.

Steps to reproduce the bug

  1. Create a new WinUI3 packaged project C# project
  2. Use this code
        public MainWindow()
        {
            InitializeComponent();
            ExtendsContentIntoTitleBar = true;
        }

        private void myButton_Click(object sender, RoutedEventArgs e)
        {
            ExtendsContentIntoTitleBar = false;
        }
  1. Click the button

Expected behavior

No response

Screenshots

titlebar

NuGet package version

WinUI 3 - Windows App SDK 1.5.4: 1.5.240607001

Windows version

Windows 11 (22H2): Build 22621

Additional context

No response

@HO-COOH HO-COOH added the bug Something isn't working label Jun 15, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Jun 15, 2024
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@codendone codendone added team-CompInput Issue for IXP (Composition, Input) team area-TitleBar Issues related to custom window title bars. and removed needs-triage Issue needs to be triaged by the area owners labels Jun 17, 2024
@RobertK66
Copy link

RobertK66 commented Jun 26, 2024

@codendone : Could you pls. disable this STUPID AI answers in this repository!.

It makes quick scanning all the issues and finding out what's going on a really cumbersome process! Any reasonable developer contributing issues IMHO is basically able to use google and co. to get this information beforehand to contributing valuable time and effort. Just my 2ct., thx.

@codendone
Copy link
Contributor

@RobertK66 Thanks for the feedback. See #9769.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-TitleBar Issues related to custom window title bars. bug Something isn't working team-CompInput Issue for IXP (Composition, Input) team
Projects
None yet
Development

No branches or pull requests

3 participants