https://bugs.winehq.org/show_bug.cgi?id=52490
Bug ID: 52490 Summary: Clipboard.GetText() doesn't work Product: Wine Version: 7.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: x256@ultra.fyi Distribution: ---
Created attachment 71783 --> https://bugs.winehq.org/attachment.cgi?id=71783 Demo application (with source code)
The Clipboard.GetText method of .NET doesn't work on Wine.
Please see the attached demo application. It copies some text into the clipboard, waits 1 second, retrieves the clipboard text and compares the texts. On Windows 10 with .NET Framework 4.8 and on Kubuntu 21.10 with Mono 6.8, the texts are the same (and thus the demo application outputs "=> Test succeeded!"). On Kubuntu 21.10 with Wine 7.0 (winehq-stable), Clipboard.GetText returns an empty string (and thus the demo application outputs "=> Test failed!").
Thanks!