Terminal: New terminal does not handle theme change event.

Created on 12 Jun 2019  路  11Comments  路  Source: microsoft/terminal

From MSFT:21424988
I have to restart the new terminal to see the effects of changing between light and dark windows theme.
You can see at the attached screenshot that the tabs haven't changed it's colors after I changed from Dark to Light theme. UWP apps are supposed to do that by default.

Area-User Interface Help Wanted Issue-Bug Priority-3 Product-Terminal v1-Scrubbed

Most helpful comment

The window border as well as the area with the Minimize, Maximize and Close buttons does not take the color of the theme (remains white despite the dark theme).

All 11 comments

This one is interesting. We could probably tackle it as part of #1125, but maybe we want to keep it separate?

The window border as well as the area with the Minimize, Maximize and Close buttons does not take the color of the theme (remains white despite the dark theme).

image

same here , anyone know how to fix this?

To be blunt: somebody needs to write the code to do this. If we do it, it will come out whenever we are done. If we don鈥檛, we will get back to it eventually.

@DHowett May I work on it??

@AnuthaDev you certainly may :smile:

Yes please change the window title according to the dark/light theme in Windows. I also have to close and re-open the terminal to fully switch. The theme itself I change the settings.json at the moment, configuring two themes, one for dark, another for light and let it auto-switch according to Windows theme would be even better.

wt-toggle-theme-title-bar-issue

Not sure if this is a XAML Island thing, but if you are using Xaml ThemeResources - they should update and refresh as the RequestedTheme changes.

This is almost _certainly_ Islands related. I'm not sure what window message is sent when the theme changes, but there almost certainly should be one...

@zadjii-msft I think it's this one: WM_SETTINGCHANGE

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Paul-Weisser picture Paul-Weisser  路  71Comments

pingzing picture pingzing  路  212Comments

Byloth picture Byloth  路  56Comments

CobusKruger picture CobusKruger  路  60Comments

Ronkiro picture Ronkiro  路  65Comments