Skip to content

Commit 3ae99b8

Browse files
committed
ShellExtension:
- Re-enable the extended menu, as Windows 11 Build 22499 appears to have resolved the stability issue with WinMerge's extended menu behavior. - Bump revision to 1.8.3.0
1 parent d556e02 commit 3ae99b8

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

ShellExtension/ShellExtension/ShellExtension.rc

+4-4
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ END
5353
//
5454

5555
VS_VERSION_INFO VERSIONINFO
56-
FILEVERSION 1,18,2,0
57-
PRODUCTVERSION 1,18,2,0
56+
FILEVERSION 1,18,3,0
57+
PRODUCTVERSION 1,18,3,0
5858
FILEFLAGSMASK 0x3fL
5959
#ifdef _DEBUG
6060
FILEFLAGS 0x1L
@@ -71,12 +71,12 @@ BEGIN
7171
BEGIN
7272
VALUE "CompanyName", "https://winmerge.org"
7373
VALUE "FileDescription", "WinMerge Shell Integration library"
74-
VALUE "FileVersion", "1.18.2.0"
74+
VALUE "FileVersion", "1.18.3.0"
7575
VALUE "InternalName", "ShellExtension"
7676
VALUE "LegalCopyright", "Copyright 2003-2021"
7777
VALUE "OriginalFilename", "ShellExtension.DLL"
7878
VALUE "ProductName", "WinMerge Shell Integration library"
79-
VALUE "ProductVersion", "1.18.2.0"
79+
VALUE "ProductVersion", "1.18.3.0"
8080
END
8181
END
8282
BLOCK "VarFileInfo"

ShellExtension/WinMergeContextMenu/dllmain.cpp

+2-5
Original file line numberDiff line numberDiff line change
@@ -309,14 +309,11 @@ class __declspec(uuid("90340779-F37E-468E-9728-A2593498ED32")) WinMergeFileDirEx
309309
const int Verb() override { return WinMergeContextMenu::CMD_COMPARE; }
310310
const EXPCMDFLAGS Flags() override
311311
{
312-
// Due to stability issues, the advanced menu is currently disabled.
313-
return ECF_DEFAULT;
314-
/*
315-
if ((m_contextMenu.GetContextMenuEnabled() & (WinMergeContextMenu::EXT_ENABLED | WinMergeContextMenu::EXT_ADVANCED)) == (WinMergeContextMenu::EXT_ENABLED | WinMergeContextMenu::EXT_ADVANCED))
312+
if ((m_contextMenu.GetContextMenuEnabled() & (WinMergeContextMenu::EXT_ENABLED | WinMergeContextMenu::EXT_ADVANCED))
313+
== (WinMergeContextMenu::EXT_ENABLED | WinMergeContextMenu::EXT_ADVANCED) && m_contextMenu.GetMenuItemList().size() > 1)
316314
return ECF_HASSUBCOMMANDS;
317315
else
318316
return ECF_DEFAULT;
319-
*/
320317
}
321318
const EXPCMDSTATE State(_In_opt_ IShellItemArray* selection) override
322319
{

ShellExtension/WinMergePkg/AppxManifest.xml.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10"
1313
xmlns:com="http://schemas.microsoft.com/appx/manifest/com/windows10"
1414
IgnorableNamespaces="uap uap2 uap3 rescap desktop desktop4 desktop5 desktop6 uap10 com">
15-
<Identity Name="WinMerge" ProcessorArchitecture="neutral" Publisher="${Publisher}" Version="1.0.3.0" />
15+
<Identity Name="WinMerge" ProcessorArchitecture="neutral" Publisher="${Publisher}" Version="1.0.4.0" />
1616
<Properties>
1717
<DisplayName>WinMerge</DisplayName>
1818
<PublisherDisplayName>winmerge.org</PublisherDisplayName>

0 commit comments

Comments
 (0)