https://bugs.winehq.org/show_bug.cgi?id=53334
Bug ID: 53334 Summary: X11DRV_SelectionRequest conflicts with OpenClipboard Product: Wine Version: 7.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: jinoh.kang.kr@gmail.com Distribution: ---
When an X11 application requests clipboard data from Wine, X11DRV_SelectionRequest() calls OpenClipboard() to access the process clipboard. During this period, any attempt from the Windows application to access the process clipboard will fail with error ERROR_ACCESS_DENIED.
This especially causes problems with some IMEs (e.g. fcitx5) that have clipboard history feature built-in; it is unpredictable when it will request clipboard data from Wine.