From c9593d485a11e9d0d1e4b5db284ddfdb8da6938a Mon Sep 17 00:00:00 2001 From: Anton Kasyanov Date: Fri, 12 Jul 2019 11:05:12 +0300 Subject: [PATCH 1/4] Update version to 5.0.0 --- Eve-O-Preview/Properties/AssemblyInfo.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Eve-O-Preview/Properties/AssemblyInfo.cs b/Eve-O-Preview/Properties/AssemblyInfo.cs index 2908b70..701f66a 100644 --- a/Eve-O-Preview/Properties/AssemblyInfo.cs +++ b/Eve-O-Preview/Properties/AssemblyInfo.cs @@ -12,7 +12,7 @@ using System.Runtime.InteropServices; [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: Guid("04f08f8d-9e98-423b-acdb-4effb31c0d35")] -[assembly: AssemblyVersion("4.1.0.6")] -[assembly: AssemblyFileVersion("4.1.0.6")] +[assembly: AssemblyVersion("5.0.0.0")] +[assembly: AssemblyFileVersion("5.0.0.0")] [assembly: CLSCompliant(false)] \ No newline at end of file From 6fda268678b1c1cb354763c8ac82aa9240ba30bd Mon Sep 17 00:00:00 2001 From: Anton Kasyanov Date: Fri, 12 Jul 2019 11:06:42 +0300 Subject: [PATCH 2/4] Documentation update --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 5d5997b..b7d166a 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,6 @@ The following hotkey is described as `modifier+key` where `modifier` can be **Co ## Compatibility Mode This setting allows to enable an alternate thumbnail render. This render doesn't use advanced DWM API to create live previews. Instead it is a screenshot-based render with the following pros and cons: -* `+` Doesn't require Aero to work * `+` Should work even in remote desktop environments * `-` Consumes significantly more memory. In the testing environment EVE-O Preview did consume around 180 MB to manage 3 thumbnails using this render. At the same time the primary render did consume around 50 MB when run in the same environment. * `-` Thumbnail images are refreshed at 1 FPS rate From 7bc0ffd076bb71f64eb9d8b79f7236aa7a3f4e3e Mon Sep 17 00:00:00 2001 From: Anton Kasyanov Date: Fri, 12 Jul 2019 11:11:49 +0300 Subject: [PATCH 3/4] Typo in the 'About' box --- Eve-O-Preview/View/Implementation/MainForm.Designer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eve-O-Preview/View/Implementation/MainForm.Designer.cs b/Eve-O-Preview/View/Implementation/MainForm.Designer.cs index e185e73..084354f 100644 --- a/Eve-O-Preview/View/Implementation/MainForm.Designer.cs +++ b/Eve-O-Preview/View/Implementation/MainForm.Designer.cs @@ -820,7 +820,7 @@ namespace EveOPreview.View DocumentationLinkLabel.Padding = new System.Windows.Forms.Padding(12, 5, 12, 5); DocumentationLinkLabel.Size = new System.Drawing.Size(336, 30); DocumentationLinkLabel.TabIndex = 6; - DocumentationLinkLabel.Text = "For more information visit our forum thread:"; + DocumentationLinkLabel.Text = "For more information visit the forum thread:"; // // DescriptionLabel // From cbe82704b6423f08355093dc0ca461994825ceef Mon Sep 17 00:00:00 2001 From: Anton Kasyanov Date: Fri, 12 Jul 2019 11:16:44 +0300 Subject: [PATCH 4/4] 151: Aero is detected as disabled in Windows 10 'High Contrast' mode --- Eve-O-Preview/Services/Implementation/WindowManager.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Eve-O-Preview/Services/Implementation/WindowManager.cs b/Eve-O-Preview/Services/Implementation/WindowManager.cs index c1b8d88..80ff23c 100644 --- a/Eve-O-Preview/Services/Implementation/WindowManager.cs +++ b/Eve-O-Preview/Services/Implementation/WindowManager.cs @@ -13,7 +13,11 @@ namespace EveOPreview.Services.Implementation public WindowManager() { - this.IsCompositionEnabled = DwmNativeMethods.DwmIsCompositionEnabled(); + // Composition is always enabled for Windows 8+ + this.IsCompositionEnabled = + ((Environment.OSVersion.Version.Major == 6) && (Environment.OSVersion.Version.Minor >= 2)) // Win 8 and Win 8.1 + || (Environment.OSVersion.Version.Major >= 10) // Win 10 + || DwmNativeMethods.DwmIsCompositionEnabled(); // In case of Win 7 an API call is requiredWin 7 } public bool IsCompositionEnabled { get; }