https://bugs.kde.org/show_bug.cgi?id=431100
Oded Arbel <o...@geek.co.il> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|UPSTREAM |--- Status|RESOLVED |REOPENED --- Comment #18 from Oded Arbel <o...@geek.co.il> --- (In reply to Oded Arbel from comment #15) > I could reproduce this issue in the past, but I currently can't reproduce > this issue on Neon unstable with Plasma 5.28.80, Frameworks 5.103.0, Qt > 5.15.8, Eclipse 4.25.0 (2022-09) and gtk3 3.24.34, so marking this issue as > fixed UPSTREAM. I want to retract what I said above. It may have been the Plasma 6 pre-release that I was running at the time, or something else, but currently with: Plasma 5.27.7, Frameworks 5.109.0, Qt 5.15.10, Eclipse 4.28.0 (2023-06) and gtk 3.24.37 (I'm not 100% sure the GTK version is correct, but this is what Eclipse's libswt-pi3-gtk-4960r6.so dynamically links to, on my system) - I can definitely see this problem. To reiterate: When running Wayland, copying text from konsole, or from many different KDE applications (I've tested yakuake, kate, gwenview, dolphin, lokalize and okular), trying to paste into Eclipse does not work: Eclipse behaves as if there's nothing in the clipboard. The problem is that KDE applications, when copying text, offer the clipboard content with the MIME content types `text/plain` and `text/plain;charset=utf-8` (and sometimes additional MIME types), while Eclipse will only accept clipboard content published with the non-MIME types 'STRING', 'UTF8_STRING' and 'TEXT'. This is not a GTK+ thing - gedit has no problem pasting KDE Wayland clipboard content, even when running in X11 mode. When GTK+ apps put text into the clipboard, they set the content types for the clipboard item with the legacy X11 types as well as the new types - and everything works great: KDE applications have no problem reading that, as well as legacy applications. I think this it the change that needs to be done. Unfortunately, as far as I can tell, KDE applications generally use the Qt clipboard API and do not use any KDE/Plasma specific API, so any "global" fix has to be done at the Qt level, IMO. -- You are receiving this mail because: You are watching all bug changes.