Bug#977693: gtk+3.0: Wayland primary selection interoperability with GTK clients on Plasma Desktop

Sandro Knauß hefee at debian.org
Sat Dec 19 01:06:49 GMT 2020


Source: gtk+3.0
Version: 3.24.24-1
Severity: normal
Tags: patch, upstream
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/issues/2591
X-Debbugs-Cc: debian-qt-kde at lists.debian.org

Hey,

currently it is impossible to use middle click pasting between Wayland 
clients and GTK clients running on XWayland, like for example Chromium 
and Firefox on Plasma Desktop.

KDE implemented the standard protocol (zwp_primary_selection) a while 
ago: https://bugs.kde.org/show_bug.cgi?id=422426

Whereas GTK support landed only last month, missing the 3.24.23 dot 
release: https://gitlab.gnome.org/GNOME/gtk/-/issues/2591

Upstream GTK developer Emmanuele Bassi said that there are no more gtk3 
dot releases planned (at least not before GTK 4.0 is released). 
Emmanuale recommends cherry-picking this patch from the gtk-3-24 stable 
branch to distro packages:

https://gitlab.gnome.org/GNOME/gtk/-/commit/9a693c7228a88b76a007aed41b101d89d084cf9b

Can you do this backport?

To verify that the patch works:
1. Log into a Plasma Wayland session
2. Open a gtk3 client using X11, such as Chromium or Firefox
3. Select some text
4. Open any Wayland client, for example Konsole
5. Try pasting the text with the middle mouse button

Regards

hefee

Link to original email of the KDE distributions list:
https://mail.kde.org/pipermail/distributions/2020-November/000890.html


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'oldstable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (400, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.0-4-amd64 (SMP w/4 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the pkg-gnome-maintainers mailing list