Bodevinaat Clipboard.Clear() ClipBoard.Text = AdresTextArea.Text MessageBox("Adres gekopieerd naar clipboard") The app freezes so I can't see in the debugger what happens exactly. It seems that touching the ClipBoard object results in a freeze.
Bodevinaat Happens in Windows. Breakpoint on first line. Debugger shows code. Then a Step Into or Step Over. App freezes immediately. Debugger shows empty editor.
Garry Found the bug and fixed it for the next release: https://feedback.objo.dev/bug/417 The desktop clipboard bridge synchronously waited on async Avalonia clipboard calls from inside the UI thread. When the debugger pause let a real window clipboard exist, Clipboard.Clear() hit that path and could deadlock.