Hi there, I’m using a fairly fresh install of Tumbleweed with KDE Plasma (Wayland) as my DE.
Copy/paste is working fine within most apps, but when I try to paste text into a game running on Lutris, nothing happens.
Whilst looking for the cause of this, I noticed that copying from Discord to the game was fine, but Firefox, Kate, and most other apps were not.
Looking further into this, I was pointed to xclip, which as I understand should be able to output whatever’s on the X11 clipboard.
Copying some text from Firefox and running the command
xclip -o selection clipboard
Gives the output
xclip: Error: window id 0x200007 cannot convert PRIMARY selection to target ‘STRING’
Whilst copying from Discord gives the correct output
xclip -o selection clipboard
test⏎
Switching the DE from Plasma (Wayland) to Plasma (X11) makes this issue go away, xclip reports the contents of the keyboard no matter which application I copy it from.
I’m at a loose end on what to try next to get this to work. Does anyone have any suggestions on what next to try. X11 isn’t really an option here as I’m getting quite bad screen tearing using it.
This topic is about interoperability between native Wayland and native X11/Xwayland clients. xclip is just the simplest way to demonstrate the problem.
@RansomTime try new clean user - do you still see the same problem?
Created a new user account, logged in and tested this.
I still get the same problem, yes - the xclip output gives the same “cannot convert” message and pasting does not work into the game I’m trying to run.
I updated my KDE VM to the latest snapshot and I now see the same problem. I submitted 1252986 – Copy-paste between native Wayland and native X11 clients stopped working on KDE. You may still consider asking on KDE forums, if anything you can get better guidance how to troubleshoot this issue. If you get any useful information from KDE, consider updating this bug report.
I might have the same issue with VirtualBox, which is an X11 application running on my KDE wayland desktop.
I hadn’t realized it before, but it could be the same problem.
Copy from kde (wayland) to virtualbox (x11) does not work, from virtualbox (x11) to wayland seems to work.