Skip to content

Fallback /Opt-out mechanism #8550

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
3 tasks
Tracked by #8538
singhashish-wpf opened this issue Dec 14, 2023 · 7 comments
Open
3 tasks
Tracked by #8538

Fallback /Opt-out mechanism #8550

singhashish-wpf opened this issue Dec 14, 2023 · 7 comments
Labels
User Story A single user-facing feature. Can be grouped under an epic. Win 11 Theming

Comments

@singhashish-wpf
Copy link
Member

  • Create a mechanism to opt out of the new theme changes
  • The user should be able to opt out of the new Theme changes in case of issues.
  • Opting out should take the user to the default state.
@singhashish-wpf singhashish-wpf converted this from a draft issue Dec 14, 2023
@dipeshmsft dipeshmsft added the User Story A single user-facing feature. Can be grouped under an epic. label Mar 21, 2024
@danielkornev
Copy link

Is my understanding correct that there is no way to cancel Theme changes right now? I moved to .NET 9 and each Theme Change event leads to my app crashing :(

@h3xds1nz
Copy link
Member

h3xds1nz commented Oct 7, 2024

@danielkornev I guess it would be a good idea to create an issue with the relevant information then.

@danielkornev
Copy link

Created one:
#9906

Not sure if it's going to help or not. I mean I wish it would but our app is quite big and complex.

@miloush
Copy link
Contributor

miloush commented Oct 7, 2024

What is it that needs opting out? Are we using Fluent theme by default?

@danielkornev
Copy link

Used Fluent theme by default by using ResourceDictionary.

@danielkornev
Copy link

Oh, user should be able to opt out of theme changes.

@xlsupport
Copy link

a) Designer isn't able to properly display Fluent. (e.g. DataGrids/ListViews are shown as white rectangles, with gridlines but no content)
Thus I need to switch to Aero for my Designer and Fluent for my runtime. And constantly run my app to see what's where and how it actually looks. Complicating factor: Styles need to use BasedOn resources.

My current workaround is a (Merged) ResourceDictionary with dummy resources for each BasedOn I'm actually using.
Then commenting out either the Fluent or the Dummy resdic.

@dipeshmsft dipeshmsft moved this to Todo in WPF Fluent Theming Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
User Story A single user-facing feature. Can be grouped under an epic. Win 11 Theming
Projects
Status: 🥅 Todo
Development

No branches or pull requests

6 participants