-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
About modal's context menu is not legible when using dark theme #3654
Comments
@ducaale Did you switch to dark mode while the app was already running? Or did you launch the app in dark mode? |
@zadjii-msft I launched the app in dark mode. |
@AaChristian it seems that the color of text depends on the theme of windows and not on the theme of the terminal. the context menu is legible when windows default app mode is dark |
Because we cannot set RequestedTheme at the application level, we occasionally run into issues where parts of our UI end up themed incorrectly. Dialogs, for example, live under a different Xaml root element than the rest of our application. This makes our popup menus and buttons "disappear" when the user wants Terminal to be in a different theme than the rest of the system. This hack---and it _is_ a hack--walks up a dialog's ancestry and forces the theme on each element up to the root. We're relying a bit on Xaml's implementation details here, but it does have the desired effect. It's not enough to set the theme on the dialog alone. Fixes #3654. Fixes #5195.
Because we cannot set RequestedTheme at the application level, we occasionally run into issues where parts of our UI end up themed incorrectly. Dialogs, for example, live under a different Xaml root element than the rest of our application. This makes our popup menus and buttons "disappear" when the user wants Terminal to be in a different theme than the rest of the system. This hack---and it _is_ a hack--walks up a dialog's ancestry and forces the theme on each element up to the root. We're relying a bit on Xaml's implementation details here, but it does have the desired effect. It's not enough to set the theme on the dialog alone. Fixes #3654. Fixes #5195.
🎉This issue was addressed in #5224, which has now been successfully released as Handy links: |
Environment
Steps to reproduce
about
modalExpected behavior
Context menu should be legible with white text on dark background.
Actual behavior
Context menu text is not legible.
The text was updated successfully, but these errors were encountered: