-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot copy/paste text from Eclipse to Wayland applications #421
Comments
This ticket is also related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=574949 |
GTK4 SWT port is already doing so 8595995 . Do you think you can try modifying GTK3 port to do so too? |
@akurtakov, can you please get directly in contact with the people from Gnome via https://gitlab.gnome.org/GNOME/mutter/-/issues/2448 or https://gitlab.gnome.org/GNOME/gtk/-/issues/5217 as I'm not able to help here? |
This still is a problem even with the latest GTK 3.24.35 that includes the additional translation merged on https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5072 |
I got this from my gnome issue: https://gitlab.gnome.org/GNOME/mutter/-/issues/2536#note_1606119 |
Same issue with KDE apps https://bugs.eclipse.org/bugs/show_bug.cgi?id=579653 |
IMHO the problem even got worse with Eclipse 2022-12. |
Same here ; Eclipse 2022-12 copy paste does not work. Same with Dbeaver 22.2.5.202211202223 (eclipse-based). Same applications with |
After some digging : gtk 3.24.35 tries to fix this issue, but fails to do so: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5072 Another issue that seems to be related with this issue and is merged into gtk 3.24 but not released : https://gitlab.gnome.org/GNOME/gtk/-/issues/5397 On my side, I try the proposed patch and it solves the copy issue (from eclipse/dbeaver to firefox). So gtk 3.24.36 release should improve the situation. |
Now gtk3-3.24.36-1 (https://bugzilla.redhat.com/show_bug.cgi?id=2151603) it works. |
I confirm gtk3-3.23.36-1 fixes the issue here on my Fedora 37! |
Closing as this has been fixed in latest gtk3 and changing swt gtk3 clipboard implementation has to potential to destabilize things and gtk4 port has it working with the new approach already. |
I can still reproduce the issue with GTK 3.24.37 (Ubuntu lunar) with Eclipse 2023-03. This only happens with non-ASCII characters (like umlauts). The paste does work in text fields (for example in all dialogs) but it does not work in any editor. |
yep, same issue in Kubuntu 23.04 wayland and Eclipse 2022-03. |
This issue has never been resolved. |
@weberhofer |
This makes it possible to paste into a KDE/QT app from eclipse.
…wayland clipboard Enables copy from eclipse to KDE/QT apps in a wayland session(RFC-1341)
…wayland clipboard Enables copy from eclipse to KDE/QT apps in a wayland session(RFC-1341)
…wayland clipboard Enables copy from eclipse to KDE/QT apps in a wayland session(RFC-1341)
…wayland clipboard Enables copy from eclipse to KDE/QT apps in a wayland session(RFC-1341)
…wayland clipboard Enables copy from eclipse to KDE/QT apps in a wayland session(RFC-1341)
…wayland clipboard Enables copy from eclipse to KDE/QT apps in a wayland session(RFC-1341)
…wayland clipboard Enables copy from eclipse to KDE/QT apps in a wayland session(RFC-1341)
…wayland clipboard Enables copy from eclipse to KDE/QT apps in a wayland session(RFC-1341)
…wayland clipboard Enables copy from eclipse to KDE/QT apps in a wayland session(RFC-1341)
Enables copy from eclipse to KDE/QT apps in a wayland session(RFC-1341)
… to the wayland clipboard" This reverts commit c7549d9.
…wayland clipboard Enables copy from eclipse to KDE/QT apps in a wayland session(RFC-1341)
… to the wayland clipboard" This reverts commit c7549d9.
…set=utf-8 to TextTransfer(). This makes it possible to paste into eclipse from a KDE/QT app in a wayland session with gtkv3.24.33 and higher(ubuntu 22.04-LTS).
…ain;charset=utf-8 to the wayland clipboard Enables copy from eclipse to KDE/QT apps in a wayland session(RFC-1341)
…set=utf-8 to TextTransfer(). This makes it possible to paste into eclipse from a KDE/QT app in a wayland session with gtkv3.24.33 and higher(ubuntu 22.04-LTS).
…ain;charset=utf-8 to the wayland clipboard Enables copy from eclipse to KDE/QT apps in a wayland session(RFC-1341)
Eclipse should ideally prefer mimetype strings in clipboard and drag and drop targets for both
Wayland and X11, over old-style
STRING
andUTF8_STRING
format strings. Since the wayland protocolsspecify that the types passed must be mimetype strings, this results in failed clipboard operations
with other Wayland clients. Mimetype strings like
text/plain
andtext/plain;charset=utf-8
arewidely accepted both in X11 and Wayland.
This ticket s related to https://gitlab.gnome.org/GNOME/mutter/-/issues/2448
The text was updated successfully, but these errors were encountered: