Describe the bug
Call "Clipboard.SetTextAsync" will create a dead lock on UOS system.
UOS system is a Debian10-based Chinese system
To Reproduce
- Prepare a PC and a USB
- Download system image from "https://www.chinauos.com/resource/download-professional"
- Install Chinese UOS system (Debian 10) on your PC, you can choose an intel or amd cpu chipset
- Try to use the call:
Dispatcher.UIThread.Post(async () =>
{
var board = MainWindow.Inst.Clipboard;
if (board != null)
await board.SetTextAsync(text); // Dead lock
});
Expected behavior
board.SetTextAsync(text) could not cause a dead lock
Avalonia version
11.3.11
OS
Linux
Additional context
No response