Skip to content

Commit 80a67ba

Browse files
authored
update comment
1 parent 8f83c10 commit 80a67ba

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Flow.Launcher/Helper/ErrorReporting.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ private static void Report(Exception e, bool silent = false, [CallerMemberName]
1717
logger.Fatal(ExceptionFormatter.FormatExcpetion(e));
1818
if (silent) return;
1919

20+
// Workaround for issue https://github.com/Flow-Launcher/Flow.Launcher/issues/4016
2021
// The crash occurs in PresentationFramework.dll, not necessarily when the Runner UI is visible, originating from this line:
2122
// https://github.com/dotnet/wpf/blob/3439f20fb8c685af6d9247e8fd2978cac42e74ac/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Shell/WindowChromeWorker.cs#L1005
22-
// Many bug reports because users see the "Report problem UI" after "the" crash with System.Runtime.InteropServices.COMException 0xD0000701 or 0x80263001.
23-
// However, displaying this "Report problem UI" during WPF crashes, especially when DWM composition is changing, is not ideal; some users reported it hangs for up to a minute before the "Report problem UI" appears.
24-
// This change modifies the behavior to log the exception instead of showing the "Report problem UI".
23+
// Many bug reports because users see the "Error report UI" after the crash with System.Runtime.InteropServices.COMException 0xD0000701 or 0x80263001.
24+
// However, displaying this "Error report UI" during WPF crashes, especially when DWM composition is changing, is not ideal; some users reported it hangs for up to a minute before the it appears.
25+
// This change modifies the behavior to log the exception instead of showing the "Error report UI".
2526
if (ExceptionHelper.IsRecoverableDwmCompositionException(e)) return;
2627

2728
var reportWindow = new ReportWindow(e);

0 commit comments

Comments
 (0)