http://bugs.winehq.org/show_bug.cgi?id=58540
Bug ID: 58540 Summary: Using copy shortcut (Ctrl+C) does not always work on XWayland Product: Wine Version: 10.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: v_winebugs@outlook.com Distribution: ---
Wine version 10.12 Arch Linux (rolling) KDE Plasma 6.4.3 on Wayland
When using the Ctrl+C command to copy and paste from a WINE application while running the X11 version of WINE in XWayland, it doesn't always work. It tends to work the first time, but subsequent copies are very flaky, and don't work.
I ran into this a lot in MusicBee, as I was copying tags a lot, but I don't think it's specific to MusicBee, as it also occurs in WINE Notepad. It doesn't seem to be an issue with KDE's XWayland implementation, as I can copy from native applications running via XWayland just fine.
I have tried to allow higher keystroke permissions to X11 apps via KDE's System Settings. This does not occur when running WINE in native Wayland, but there's another bug in which highlighted text gets erased when clicking away.
How to reproduce: 1. Load any application that has Windows' textbox input in WINE, via XWayland (e.g. Notepad, MusicBee). 2. Write a test sentence. 3. Copy that sentence using Ctrl+C and paste it into anything else with text input (e.g. text editor) 4. Write a different test sentence. 5. Copy that one using Ctrl+C, but only once, and attempt to paste it into the other application. 6. Notice that the old sentence is copied, not the new one.