Describe the bug
Text paste in the Copilot CLI prompt regressed on Ubuntu GNOME Wayland after upgrading to 1.0.49.
This worked on the same machine with 1.0.48 and earlier, but after updating to 1.0.49, paste inside the Copilot CLI prompt no longer works as expected.
From local investigation, the terminal-level paste path is still functional, but Copilot CLI 1.0.49 appears to trigger clipboard-related code paths that now fail under GNOME Wayland / Mutter with:
writeToClipboard: native clipboard write failed; relied on OSC 52
Failed to get clipboard attachment file path: Error: Failed to get files: Failed to query MIME types:
A required Wayland protocol (ext-data-control, or wlr-data-control version 1) is not supported by the compositor
Failed to write clipboard image to disk: Error: Failed to get image: Failed to query MIME types:
A required Wayland protocol (ext-data-control, or wlr-data-control version 1) is not supported by the compositor
This looks like a regression introduced in 1.0.49: the same environment did not show these errors on 1.0.48.
Affected version
GitHub Copilot CLI 1.0.49
Steps to reproduce the behavior
- Use Ubuntu GNOME on Wayland.
- Open GNOME Terminal.
- Start
copilot.
- Try pasting text into the prompt.
- Observe that paste inside Copilot CLI no longer behaves correctly after upgrading to
1.0.49.
- Inspect
~/.copilot/logs/process-*.log and observe repeated Wayland clipboard protocol errors.
Expected behavior
Text paste in the Copilot CLI prompt should continue to work on GNOME Wayland as it did in 1.0.48, without attempting clipboard operations that fail because of unsupported compositor protocols.
Additional context
Environment:
- OS: Ubuntu 24.04.4 LTS
- Session: Wayland
- Desktop: GNOME
- Terminal: GNOME Terminal
- Input method: fcitx5
- Copilot CLI:
1.0.48: worked
1.0.49: broken
Notes from local investigation:
copilot points to the real binary, no shell wrapper involved.
PreeditEnabledByDefault=False in fcitx5 was already set for a separate preedit visibility workaround; changing it does not fix this paste regression.
- Injecting bracketed paste sequences manually into the TTY still inserts text, which suggests the underlying terminal paste path still exists.
- The regression seems tied to new clipboard handling introduced or exercised by
1.0.49, not to a general terminal paste failure.
Relevant local evidence:
1.0.43: no related clipboard / Wayland protocol errors in logs
1.0.48: no related clipboard / Wayland protocol errors in logs
1.0.49: repeated Failed to get clipboard attachment file path / writeToClipboard / A required Wayland protocol ... errors
Potentially related issue:
Describe the bug
Text paste in the Copilot CLI prompt regressed on Ubuntu GNOME Wayland after upgrading to
1.0.49.This worked on the same machine with
1.0.48and earlier, but after updating to1.0.49, paste inside the Copilot CLI prompt no longer works as expected.From local investigation, the terminal-level paste path is still functional, but Copilot CLI
1.0.49appears to trigger clipboard-related code paths that now fail under GNOME Wayland / Mutter with:This looks like a regression introduced in
1.0.49: the same environment did not show these errors on1.0.48.Affected version
GitHub Copilot CLI
1.0.49Steps to reproduce the behavior
copilot.1.0.49.~/.copilot/logs/process-*.logand observe repeated Wayland clipboard protocol errors.Expected behavior
Text paste in the Copilot CLI prompt should continue to work on GNOME Wayland as it did in
1.0.48, without attempting clipboard operations that fail because of unsupported compositor protocols.Additional context
Environment:
1.0.48: worked1.0.49: brokenNotes from local investigation:
copilotpoints to the real binary, no shell wrapper involved.PreeditEnabledByDefault=Falsein fcitx5 was already set for a separate preedit visibility workaround; changing it does not fix this paste regression.1.0.49, not to a general terminal paste failure.Relevant local evidence:
1.0.43: no related clipboard / Wayland protocol errors in logs1.0.48: no related clipboard / Wayland protocol errors in logs1.0.49: repeatedFailed to get clipboard attachment file path/writeToClipboard/A required Wayland protocol ...errorsPotentially related issue:
Copy stops working on 1.0.49. Works fine on 1.0.48