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

Titlebar and Quick-Access broken when using StartScreen #877

Closed
chrfin opened this issue Dec 3, 2020 · 1 comment
Closed

Titlebar and Quick-Access broken when using StartScreen #877

chrfin opened this issue Dec 3, 2020 · 1 comment
Assignees
Labels
Milestone

Comments

@chrfin
Copy link
Contributor

chrfin commented Dec 3, 2020

If you open/use the StartScreen the title bar changes text-align and the Quick-Access-Icons are gone:
Before StartScreen:
image
After StartScreen:
image

Side-Note: To even use the start-screen in the showcase you need to delete Ln 158 in TestContent.xaml as the referenced image does not exist.


Environment

  • Fluent.Ribbon v8.0.2
  • Windows 10
  • .NET Core 3.1
@chrfin
Copy link
Contributor Author

chrfin commented Dec 3, 2020

I found the reason for this:

parentRibbon.TitleBar.IsCollapsed is not set back to false after the StartScreen is hidden.

I think this was introduced with the fix for #855 and the addition of var wasOpen = this.IsOpen; as IsOpen is already false there. 

We use the following workaround for now:

    StartScreen.IsOpenChanged += (s, e) => Ribbon.TitleBar.IsCollapsed = StartScreen.IsOpen;

@batzen batzen added the Bug 🐞 label Dec 4, 2020
@batzen batzen self-assigned this Dec 4, 2020
@batzen batzen added this to the 8.0.3 milestone Dec 4, 2020
batzen added a commit that referenced this issue Dec 13, 2020
@batzen batzen closed this as completed Dec 13, 2020
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

2 participants