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

[Shell] [WinUI] TitleView always shows ShellContent title, even if it's set. #6148

Closed
drasticactions opened this issue Apr 16, 2022 · 0 comments · Fixed by #6195
Closed

[Shell] [WinUI] TitleView always shows ShellContent title, even if it's set. #6148

drasticactions opened this issue Apr 16, 2022 · 0 comments · Fixed by #6195
Assignees
Labels
area-controls-shell Shell Navigation, Routes, Tabs, Flyout fixed-in-6.0.300-rc.2 Look for this fix in 6.0.300-rc.2! platform/windows 🪟 s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@drasticactions
Copy link
Contributor

Description

When using Shell, you can set a TitleView to have dynamic content appear in the top bar of your app, for example.

    <Shell.TitleView>
        <Label Text="Test"/>
    </Shell.TitleView>

Normally, if you set this content, it will clear the existing header and use this one. However, when using WinUI, it still shows the existing ShellContent title, showing both.

image

I don't think this is the intended functionality, as iOS, Mac Catalyst, and Android all clear the title content correctly. I think this is a bug.

Steps to Reproduce

  1. Create a new MAUI App.
  2. In the default ContentPage, add
    <Shell.TitleView>
        <Label Text="Test"/>
    </Shell.TitleView>

Version with bug

Release Candidate 1 (current)

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows SDK Whatever Current Version It Is.

Did you find any workaround?

No response

Relevant log output

No response

@drasticactions drasticactions added t/bug Something isn't working s/needs-verification Indicates that this issue needs initial verification before further triage will happen area-controls-shell Shell Navigation, Routes, Tabs, Flyout labels Apr 16, 2022
@PureWeen PureWeen added s/verified Verified / Reproducible Issue ready for Engineering Triage and removed s/needs-verification Indicates that this issue needs initial verification before further triage will happen labels Apr 16, 2022
@PureWeen PureWeen added this to the 6.0.300-rc.2 milestone Apr 16, 2022
@PureWeen PureWeen self-assigned this Apr 16, 2022
@ghost ghost locked as resolved and limited conversation to collaborators May 19, 2022
@samhouts samhouts added the fixed-in-6.0.300-rc.2 Look for this fix in 6.0.300-rc.2! label Feb 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-shell Shell Navigation, Routes, Tabs, Flyout fixed-in-6.0.300-rc.2 Look for this fix in 6.0.300-rc.2! platform/windows 🪟 s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants