Drop-down options in Settings always follow system theme #19953

Open
opened 2026-01-31 06:58:29 +00:00 by claunia · 3 comments
Owner

Originally created by @bzzrak on GitHub (May 25, 2023).

Windows Terminal version

1.18.1421.0

Windows build number

10.0.22621.1702

Other Software

No response

Steps to reproduce

  1. set the WT theme to be the opposite of your system theme. In my case, system theme is light but Terminal is set to dark.
  2. open Settings
  3. click any option that has a drop-down.

Expected Behavior

The application theme is followed, in my case dark.

Actual Behavior

The system theme is followed, in my case light
(on the right is the Settings app showing that my system theme is light.)
image
image

Originally created by @bzzrak on GitHub (May 25, 2023). ### Windows Terminal version 1.18.1421.0 ### Windows build number 10.0.22621.1702 ### Other Software _No response_ ### Steps to reproduce 1. set the WT theme to be the opposite of your system theme. In my case, system theme is light but Terminal is set to dark. 2. open Settings 3. click any option that has a drop-down. ### Expected Behavior The application theme is followed, in my case dark. ### Actual Behavior The system theme is followed, in my case light (on the right is the Settings app showing that my system theme is light.) <img width="700" alt="image" src="https://github.com/microsoft/terminal/assets/77467869/b5837f22-a80a-4b09-b469-a715abb9c1b8"> <img width="400" alt="image" src="https://github.com/microsoft/terminal/assets/77467869/9419d25d-cef7-41d8-b937-65be9c4ac073">
claunia added the Help WantedIssue-BugProduct-TerminalArea-SettingsUI labels 2026-01-31 06:58:30 +00:00
Author
Owner

@zadjii-msft commented on GitHub (May 31, 2023):

I'm sure this is one of the many "we need to iterate through the XAML tree and the popup root to set the theme too" bugs we've dealt with for... basically forever. There's other similar issues scattered across the repo.

@zadjii-msft commented on GitHub (May 31, 2023): I'm sure this is one of the many "we need to iterate through the XAML tree and the popup root to set the theme too" bugs we've dealt with for... basically forever. There's other similar issues scattered across the repo.
Author
Owner

@RickleAndMortimer commented on GitHub (Aug 13, 2023):

May I take a look into this issue?

@RickleAndMortimer commented on GitHub (Aug 13, 2023): May I take a look into this issue?
Author
Owner

@zadjii-msft commented on GitHub (Feb 6, 2024):

@RickleAndMortimer Sorry about that! I must've missed that comment before. Please, always feel free to start on whatever ☺️

https://github.com/microsoft/terminal/pull/9732 might have some pointers of the right direction to investigate. Basically, anything that's a Popup doesn't share the same XAML root as the rest of the app, so we need to apply the RequestedTheme to popups manually 🙃

@zadjii-msft commented on GitHub (Feb 6, 2024): @RickleAndMortimer Sorry about that! I must've missed that comment before. Please, always feel free to start on whatever ☺️ https://github.com/microsoft/terminal/pull/9732 might have some pointers of the right direction to investigate. Basically, anything that's a `Popup` doesn't share the same XAML root as the rest of the app, so we need to apply the `RequestedTheme` to popups manually 🙃
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19953