WinDynamicDesktop icon indicating copy to clipboard operation
WinDynamicDesktop copied to clipboard

Windows 10 theme doesn't change automatically on latest Fast ring insider build

Open VincentJoshuaET opened this issue 7 years ago • 10 comments

I enabled More options > Change Windows 10 theme color and it does not work.

  • Windows version 10 1903 18334.1
  • WinDynamicDesktop version 3.0.0
  • Installation source Microsoft Store

VincentJoshuaET avatar Feb 18 '19 10:02 VincentJoshuaET

Have you tried using The github version? I don't know how, but it often helps.

I have it working, but after turn off did not return to the theme color back (Yandex.Translate)

MD-DeCode avatar May 01 '19 18:05 MD-DeCode

Since currently I don't have access to the Insider edition of Windows 10, could you try opening the Registry Editor, navigate to Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize (you can paste the path in at the top of the window), and manually toggle these 2 values between 0 and 1 (create them if either one doesn't exist).

  • AppsUseLightTheme
  • SystemUsesLightTheme

0 means dark theme and 1 means light, you should see it change right away if you have an app open that gets themed like Windows 10 Settings. Changing these registry values is what the app should be doing under the covers.

t1m0thyj avatar May 09 '19 23:05 t1m0thyj

Using latest version of WDD from the Store and Windows 1903 Fast Ring (build 18898). When I modify the 2 keys above manually, app theme and window theme does change. However, I don't see the app changing these values at all. I even tried running it as admin and got no change.

khuongduybui avatar May 27 '19 15:05 khuongduybui

Since the May update that has a new light theme was released, I investigated this and discovered this feature seems to work fine in the desktop version but not the Microsoft Store version. It appears that Store apps are not allowed to edit the registry, which unfortunately makes this feature not possible in the Store version unless I can find a workaround.

t1m0thyj avatar May 27 '19 23:05 t1m0thyj

Since Microsoft Store apps are not allowed to modify system registry entries, unfortunately I had to remove this feature from the Store app because it couldn't work there. This feature is still available in the desktop version available from GitHub.

t1m0thyj avatar Jun 04 '19 23:06 t1m0thyj

Since Microsoft Store apps are not allowed to modify system registry entries, unfortunately I had to remove this feature from the Store app because it couldn't work there. This feature is still available in the desktop version available from GitHub.

I have made a small app for switching between dark and light theme depending on the light sensor (go outdoors -> light theme, return indoors -> dark theme). I also published it to the Microsoft store; the way I overcame that limitation is by simply calling the reg command for making system-wide changes to the registry. That won't work in Windows 10 in S mode (throws an exception), but gets nevertheless through Microsoft's review process.

stephtr avatar Apr 25 '20 14:04 stephtr

@stephtr I've tried calling the reg command identical to how you did it and it does indeed work in a UWP app. However, it also causes a terminal window to briefly flicker on my machine, even when the "CreateNoWindow" flag is used.

t1m0thyj avatar Apr 28 '20 02:04 t1m0thyj

Ah thanks, seems like one has to use WindowStyle = ProcessWindowStyle.Hidden for console applications; in my app I never noticed a terminal window.

stephtr avatar Apr 28 '20 06:04 stephtr

Also tried that, unfortunately with WindowStyle = ProcessWindowStyle.Hidden I still see a terminal window flicker.

t1m0thyj avatar Apr 29 '20 00:04 t1m0thyj

Maybe you also have to set UseShellExecute to false. Apparently that's true by default for .NET < 5 and false for .NET Core.

stephtr avatar May 01 '20 09:05 stephtr