https://bugs.kde.org/show_bug.cgi?id=463460
Bug ID: 463460
Summary: gtk_clipboard_set_with_owner() does not work on kwin
wayland
Classification: Plasma
Product: kwin
Version: 5.26.4
Platform: Ubuntu
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: wayland-generic
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 154820
--> https://bugs.kde.org/attachment.cgi?id=154820&action=edit
GTK+ 3 example program to reproduce the bug.
Under kwin wayland, GTK+ 3 applications are unable to become clipboard owner
via gtk_clipboard_set_with_owner() or provide data via callback.
STEPS TO REPRODUCE
Compile the attached cot.c file, instructions for compilations are at the
beginning of the file.
Run "./cot" and then press the button on the main window. The application will
try to become clipboard owner and provide a small string of text. But when you
paste text in other windows, nothing is pasted, no clibpoard callbacks are
called in cot.c.
See also this Remmina bug: https://gitlab.com/Remmina/Remmina/-/issues/2737
The example program shows that text is pasted with no problems under KDE+Xorg,
GnomeShell+Wayland, GnomeShell+Xorg. But under KDE+Wayland text is not pasted
to the destination application window.
OBSERVED RESULT
Nothing is pasted when the users try to paste. Callbacks of
gtk_clipboard_set_with_owner() are not called.
EXPECTED RESULT
Application should become clipboard owner and provide clipboard content when
the user pastes to another window.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KUbuntu 22.10 + backports PPA to have latest plasma (5.26.4)
--
You are receiving this mail because:
You are watching all bug changes.