8000 RibbonWindow not working correctly with ThemeMode="System" · Issue #10757 · dotnet/wpf · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

RibbonWindow not working correctly with ThemeMode="System" #10757

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

Open
dha125 opened this issue Apr 11, 2025 · 2 comments
Open

RibbonWindow not working correctly with ThemeMode="System" #10757

dha125 opened this issue Apr 11, 2025 · 2 comments
Labels
Investigate Requires further investigation by the WPF team. Win 11 Theming

Comments

@dha125
Copy link
dha125 commented Apr 11, 2025

Description

RibbonWindow fails to correctly render if ThemeMode="System" is in either App.xaml or MainWindow.xaml. RibbonWindow and Ribbon are well written but seem to have missed the modernization in dotnet 9.

Reproduction Steps

Any valid RibbonWindow fails to render the quick access toolbar in the window title bar in a net9.0-windows or net10.0-windows project if any ThemeMode is set. I'm currently testing with 10.0.100-preview.2.25164.34.

<RibbonWindow x:Class="WpfRibbonApp.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:WpfRibbonApp"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800"
ThemeMode="System">







Expected behavior

Quick access toolbar in the window title bar.
Image

Actual behavior

See image in expected behavior.

Regression?

No response

Known Workarounds

No response

Impact

No response

Configuration

No response

Other information

No response

@himgoyalmicro himgoyalmicro added Investigate Requires further investigation by the WPF team. Win 11 Theming labels Apr 14, 2025
@dipeshmsft
Copy link
Member

@dha125, the actual issue here is that Ribbon and associated controls are not styled according to Fluent. Currently we have the styles for controls in PresentationFramework assembly.

@dha125
Copy link
Author
dha125 commented Apr 16, 2025

Thanks for the feedback. Will the Ribbon be modernized for the final dotnet 10 release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Investigate Requires further investigation by the WPF team. Win 11 Theming
Projects
Status: No status
Development

No branches or pull requests

3 participants
0