ookii-dialogs-wpf icon indicating copy to clipboard operation
ookii-dialogs-wpf copied to clipboard

ProgressDialog cannot update main UI thread

Open MrBisquit opened this issue 2 years ago • 3 comments
trafficstars

I'm trying to use the ProgressDialog to show what it's doing without stressing out the UI thread but it does not appear to be updating the UI thread when I use Dispatcher.Invoke(() => { Items.Add(networkItem); Data.ItemsSource = Items; }, System.Windows.Threading.DispatcherPriority.Render); or Application.Current.Dispatcher.Invoke(() => { Items.Add(networkItem); Data.ItemsSource = Items; }); I do not know if this is because of this NuGet package or not.

MrBisquit avatar May 29 '23 09:05 MrBisquit

@MrBisquit Can you put together a reproducible example on a repo?

augustoproiete avatar May 29 '23 16:05 augustoproiete

@MrBisquit Can you put together a reproducible example on a repo?

I will upload it shortly, I will give you the link once done.

MrBisquit avatar May 29 '23 17:05 MrBisquit

@augustoproiete https://github.com/MrBisquit/NetworkScanner

MrBisquit avatar May 30 '23 07:05 MrBisquit