From 70ad1584703dad5e8a5d7e4043ce165876764193 Mon Sep 17 00:00:00 2001 From: RKrom Date: Tue, 18 Nov 2014 23:07:43 +0100 Subject: [PATCH] Fixed BUG-1620 Greenshot crashing Chrome running in 'Windows 8 Mode', it seems the HideApp causes the app to restart. Don't know if we need this anymore, with 1 screen windows 8.1 everything works without it. --- Greenshot/Helpers/CaptureHelper.cs | 12 +++++++----- .../releases/additional_files/readme.txt.template | 1 + 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Greenshot/Helpers/CaptureHelper.cs b/Greenshot/Helpers/CaptureHelper.cs index 76daf7c9d..fb9fe455f 100644 --- a/Greenshot/Helpers/CaptureHelper.cs +++ b/Greenshot/Helpers/CaptureHelper.cs @@ -945,13 +945,15 @@ namespace Greenshot.Helpers { #region capture with feedback private void CaptureWithFeedback() { + // The following, to be precise the HideApp, causes the app to close as described in BUG-1620 // Added check for metro (Modern UI) apps, which might be maximized and cover the screen. - // as they don't want to + foreach(WindowDetails app in WindowDetails.GetMetroApps()) { - if (app.Maximised) { - app.HideApp(); - } - } + // if (app.Maximised) { + // app.HideApp(); + // } + //} + using (CaptureForm captureForm = new CaptureForm(_capture, _windows)) { DialogResult result = captureForm.ShowDialog(); if (result == DialogResult.OK) { diff --git a/Greenshot/releases/additional_files/readme.txt.template b/Greenshot/releases/additional_files/readme.txt.template index 7d4c3d23e..8914281c1 100644 --- a/Greenshot/releases/additional_files/readme.txt.template +++ b/Greenshot/releases/additional_files/readme.txt.template @@ -14,6 +14,7 @@ Changes: * Optimized Greenshots update check to use even less traffic by checking the time-stamp of the update feed before downloading it. Bugs Resolved: +* BUG-1620: Greenshot crashing Chrome running in 'Windows 8 Mode' * BUG-1686: Shadow (drop shadow or torn edge) grows if a filter (highlight etc) is used and an element is moved around * BUG-1698: Cannot enter textbox/Speechbubble lowercase text after changing font family * BUG-1700: IE capture only works once