From 12f2ec50dd0c3108390dbe658e7fd0cd6cd95f7e Mon Sep 17 00:00:00 2001 From: Christian Clavet Date: Wed, 3 Jan 2024 10:47:58 -0500 Subject: [PATCH] Sometimes with some computers, the background notification were not displayed. Trying to invoke the notification manager in another way. Some test show that it seem to work anytime now. --- NAPS2.Core/WinForms/WinFormsOperationProgress.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NAPS2.Core/WinForms/WinFormsOperationProgress.cs b/NAPS2.Core/WinForms/WinFormsOperationProgress.cs index 5b40196375..0a1d08e00b 100644 --- a/NAPS2.Core/WinForms/WinFormsOperationProgress.cs +++ b/NAPS2.Core/WinForms/WinFormsOperationProgress.cs @@ -89,7 +89,8 @@ public void ShowBackgroundProgress(IOperation op) if (!op.IsFinished) { - notificationManager.ParentForm.SafeInvoke(() => notificationManager.OperationProgress(this, op)); + //notificationManager.ParentForm.SafeInvoke(() => notificationManager.OperationProgress(this, op)); + notificationManager.ParentForm.Invoke(() => notificationManager.OperationProgress(this, op)); } }