Browse Source

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

pull/886/head 22000.376.40.21_3921927
Valentin Radu 4 years ago
parent
commit
39219275c9
  1. 2
      CHANGELOG.md
  2. 37
      ExplorerPatcher/dllmain.c
  3. 6
      version.h

2
CHANGELOG.md

@ -9,6 +9,7 @@ Tested on OS build 22000.376.
#### Highlights #### Highlights
* Built-in support for OS build 22000.376 (.12) * 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) * 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) * 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: * 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 * Improved reliability of startup delay and window dismiss when quickly Alt-Tabbing
* Window icons are retrieved async now * Window icons are retrieved async now
* Better icon drawing using GDI+ flat API * 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 * Added some more debug messages
* Fixed some rendering problems when themes are disabled * Fixed some rendering problems when themes are disabled
* Fixed regression of [#161](https://github.com/valinet/ExplorerPatcher/issues/161#issuecomment-986234002) (.1) * Fixed regression of [#161](https://github.com/valinet/ExplorerPatcher/issues/161#issuecomment-986234002) (.1)

37
ExplorerPatcher/dllmain.c

@ -3983,6 +3983,43 @@ void WINAPI LoadSettings(LPARAM lParam)
sizeof(DWORD) sizeof(DWORD)
); );
RegDeleteKeyExW(hKey, TEXT(STARTDOCKED_SB_NAME), KEY_WOW64_64KEY, 0); 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; dwTemp = TRUE;

6
version.h

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

Loading…
Cancel
Save