ALTaleX531 / OpenGlass

A replica of the dead software glass8 (Aero Glass for Win8+).
GNU General Public License v3.0
36 stars 2 forks source link

Using a Theme Patcher reverts some Aero color settings on every logoff and lock #4

Closed Mrk20200 closed 1 week ago

Mrk20200 commented 1 week ago

Note

This bug is not caused by OpenGlass, but it is basically the only program using these values, and it is very unlikely that Microsoft would fix this, considering that these values can only be set from either the Registry Editor or third-party tools.

Problem

The ColorizationColorBalance and ColorizationAfterglowBalance keys (stored in HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\DWM) get reset to their default values (set by explorer.exe) on every lock and logoff (including shutdowns and restarts), changing how the Aero blur looks. (see the screenshots below)

This problem can be recreated on a fresh install of Windows with either SecureUXTheme (making it hook explorer doesn't affect anything) or UltraUXThemePatcher and a custom theme, which isn't good for the people trying to make their setup look like Windows 7.

Possible Solution/Workaround

Since this program hooks into DWM and not Explorer (the program that reverts these values), I suggest that these values get renamed to a different name that Explorer won't reset. (maybe AeroColorBalance and AeroAfterglowBalance?)

System Info

OS: Windows 10 22H2 (Build 19045.4529) Tested theme: Aero10 v1.0.3-re Tested theme patchers: SecureUXTheme v2.2.0 and UltraUXThemePatcher v4.4.2 Third-party software: (only a theme patcher is needed to recreate this bug)

Screenshots

Before Logoff (should stay the same after): before After Logoff (and after logon): after

ALTaleX531 commented 1 week ago

workaround added