FS#68667 - X11 clients using gtk3 can't copy-paste to Wayland clients

Attached to Project: Arch Linux
Opened by Bernie Innocenti (codewiz) - Thursday, 19 November 2020, 13:52 GMT
Last edited by Jan Alexander Steffens (heftig) - Friday, 23 April 2021, 19:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:
This has already been fixed upstream: https://gitlab.gnome.org/GNOME/gtk/-/issues/2591

Since there are no more gtk3 dot releases planned (at least not before the GTK 4.0 release, upstream GNOME developer Emmanuele Bassi recommended cherry-picking this patch from the gtk-3-24 stable branch to distro packages:
https://gitlab.gnome.org/GNOME/gtk/-/commit/9a693c7228a88b76a007aed41b101d89d084cf9b

Additional info:
* gtk3 1:3.24.23-4

Steps to reproduce:
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 a Wayland client, such as Konsole
5. Try pasting the text with the middle mouse button
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Friday, 23 April 2021, 19:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  gtk3 1:3.24.29-1
Comment by Joaquim Monteiro (gmes78) - Thursday, 31 December 2020, 19:14 GMT
That commit is included in 3.24.24 (https://gitlab.gnome.org/GNOME/gtk/-/issues/2591#note_980214), so this should be fixed already.
Comment by Bernie Innocenti (codewiz) - Thursday, 22 April 2021, 08:39 GMT
  • Field changed: Percent Complete (100% → 0%)
How was it fixed?
Comment by Bernie Innocenti (codewiz) - Thursday, 22 April 2021, 08:59 GMT
Additional patches are required for gtk3 and gtk4:
https://bugs.kde.org/show_bug.cgi?id=422426#c17

I suggest taking only the gtk3 patches only. The gtk4 patch can wait until the next release because the fix is only necessary for Xwayland clients, and most gtk4 apps will default to using Wayland.

After these, additional fixes might be required for plasmashell (I will open a separate task when there's a patch):
https://bugs.kde.org/show_bug.cgi?id=424754#c33

Loading...