Skia Targets allows to change the UI on Background thread #15879
Labels
area/skia/stability ✏️
kind/breaking-change 💥
Categorizes an issue or PR as requiring a breaking change to be fixed.
kind/bug
Something isn't working
platform/all
Categorizes an issue or PR as relevant to the all platforms
Current behavior
If I try to edit a
TextBox.Text
on a Background thread that will work and the text will be updated.Expected behavior
Some exception saying that I can't change the UI outside the UIThread.
How to reproduce it (as minimally and precisely as possible)
In order to run the issue, just try out this sample. IF you run the Windows target it will fail when the code hits
ContinueWith
, on Skia targets it will work.GTKUIBackgroundThread.zip
Workaround
None
Works on UWP/WinUI
Yes
Environment
Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia
NuGet package version(s)
No response
Affected platforms
No response
IDE
No response
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: