Public bug reported:

[Impact]

wl-clipboard 2.2.1-2build1 in resolute supports only the deprecated
zwlr_data_control_manager_v1 protocol. KWin in resolute (Plasma 6.6 —
kwin-wayland 4:6.6.4-0ubuntu1 in release, 4:6.6.6-0ubuntu0.1 in
resolute-updates) no longer advertises that protocol; it exposes only
the standardized replacement ext_data_control_manager_v1 (ported in KWin
MR 6606, wlr variant subsequently dropped).

As a result, on the flagship Plasma Wayland session that 26.04 itself
ships, wl-clipboard is completely non-functional:

* wl-copy cannot bind any data-control protocol, so it falls back to creating 
an xdg_toplevel surface to acquire keyboard focus (required by the core 
wl_data_device protocol). KWin never activates this surface, so wl-copy blocks 
forever. Every invocation leaks one hung process plus one phantom 
"wl-clipboard" window in the taskbar (generic Wayland icon).
* wl-paste hangs indefinitely for the same reason (no data-control read path).

Any application that shells out to wl-copy for clipboard integration
(terminal tools, editors, scripts, tmux configurations, Electron/CLI
apps) silently loses clipboard functionality and litters the task
manager with phantom windows. This affects every Kubuntu 26.04 LTS user
for the LTS lifetime.

Upstream wl-clipboard 2.3.0 (released March 2025) adds ext-data-
control-v1 support, contributed by KWin developer Vlad Zahorodnii
(https://github.com/bugaevc/wl-clipboard/issues/242). Debian packaged it
as 2.3.0-1 (unstable, 2026-06-05) and it synced to stonking on
2026-06-07 — one cycle too late for resolute.

Request: SRU wl-clipboard 2.3.0 to resolute (or cherry-pick the ext-
data-control patch onto 2.2.1).

[Test Plan]

On a Kubuntu 26.04 Wayland session:

    $ printf test | wl-copy        # broken: hangs, phantom window appears
    $ timeout 3 wl-paste; echo $?  # broken: times out, exit 124

With the fixed package:

    $ printf test | wl-copy        # returns immediately, no window
    $ wl-paste                     # prints "test"
    $ printf test2 | wl-copy       # superseded wl-copy process exits cleanly

Protocol evidence:

    $ strings /usr/bin/wl-copy | grep data_control
    zwlr_data_control_manager_v1        # (only zwlr — no ext support)
    $ wayland-info | grep data_control
    interface: 'ext_data_control_manager_v1'   # (KWin offers only ext)

[Where problems could occur]

wl-clipboard is a leaf CLI package with no reverse dependencies. 2.3.0
prefers ext-data-control and retains zwlr as fallback, so wlroots-based
compositors (sway, etc.) that still offer zwlr are unaffected. GNOME
offers neither protocol, so the focus-fallback path used there is
unchanged. The regression surface is limited to the two CLI binaries
themselves.

[Other Info]

Root cause is an in-release incoherence: resolute ships a KWin that
removed a protocol together with the only version of wl-clipboard that
requires it. Neither package is individually buggy; the pairing is.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: wl-clipboard 2.2.1-2build1

** Affects: wl-clipboard (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2163106

Title:
  wl-copy/wl-paste hang and spawn phantom windows on Plasma 6.6
  (resolute); needs ext-data-control support from 2.3.0 (SRU request)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wl-clipboard/+bug/2163106/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to