1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2025-01-18 16:54:13 +01:00

Hotfix: Taskbar glom level is correctly migrated when upgrading from an older release (fixed #612, #614)

This commit is contained in:
Valentin Radu 2021-12-31 17:34:02 +02:00
parent d35cdeb0bd
commit 39219275c9
3 changed files with 41 additions and 4 deletions

View File

@ -9,6 +9,7 @@ Tested on OS build 22000.376.
#### Highlights
* Built-in support for OS build 22000.376 (.12)
* Hotfix: Windows 10 taskbar "always combine"/"show labels" setting is properly preserved when upgrading from an older release (multiple reports, #612, #614) (.21)
* Primary taskbar remembers position when moved to a secondary monitor (multiple issues, like #504)
* Ability to set Control Center as network icon action (merged #492)
* Added possibility to use the original Windows 10 (Alt-Tab) window switcher; thus, the available options are now:
@ -59,7 +60,6 @@ Tested on OS build 22000.376.
* Improved reliability of startup delay and window dismiss when quickly Alt-Tabbing
* Window icons are retrieved async now
* Better icon drawing using GDI+ flat API
* Reversed UWP apps detection to checking whether the executable is called ApplicationFrameHost.exe
* Added some more debug messages
* Fixed some rendering problems when themes are disabled
* Fixed regression of [#161](https://github.com/valinet/ExplorerPatcher/issues/161#issuecomment-986234002) (.1)

View File

@ -3983,6 +3983,43 @@ void WINAPI LoadSettings(LPARAM lParam)
sizeof(DWORD)
);
RegDeleteKeyExW(hKey, TEXT(STARTDOCKED_SB_NAME), KEY_WOW64_64KEY, 0);
DWORD dwTaskbarGlomLevel = 0, dwMMTaskbarGlomLevel = 0;
dwSize = sizeof(DWORD);
RegGetValueW(
HKEY_CURRENT_USER,
L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
L"TaskbarGlomLevel",
REG_DWORD,
NULL,
&dwTaskbarGlomLevel,
&dwSize
);
RegSetValueExW(
hKey,
TEXT("TaskbarGlomLevel"),
0,
REG_DWORD,
&dwTaskbarGlomLevel,
sizeof(DWORD)
);
dwSize = sizeof(DWORD);
RegGetValueW(
HKEY_CURRENT_USER,
L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
L"MMTaskbarGlomLevel",
REG_DWORD,
NULL,
&dwMMTaskbarGlomLevel,
&dwSize
);
RegSetValueExW(
hKey,
TEXT("MMTaskbarGlomLevel"),
0,
REG_DWORD,
&dwMMTaskbarGlomLevel,
sizeof(DWORD)
);
}
}
dwTemp = TRUE;

View File

@ -1,7 +1,7 @@
#define VER_MAJOR 22000
#define VER_MINOR 376
#define VER_BUILD_HI 40
#define VER_BUILD_LO 20
#define VER_BUILD_LO 21
#define VER_FLAGS VS_FF_PRERELEASE
@ -12,5 +12,5 @@
#define VER_STR(arg) #arg
// The String form of the version numbers
#define VER_FILE_STRING VALUE "FileVersion", "22000.376.40.20"
#define VER_PRODUCT_STRING VALUE "ProductVersion", "22000.376.40.20"
#define VER_FILE_STRING VALUE "FileVersion", "22000.376.40.21"
#define VER_PRODUCT_STRING VALUE "ProductVersion", "22000.376.40.21"