Skip to content

Clipboard copy fails on Wayland: X11 server connection timeout #97

@sgrimee

Description

@sgrimee

Description

The copy-to-clipboard feature ('y' keybinding) does not work on Wayland environments. Error occurs:

ERROR webex_tui::app src/app/mod.rs 309 Could not copy message: Failed to access clipboard: Unknown error while interacting with the clipboard: X11 server connection timed out because it was unreachable

Expected Behavior

Clipboard copy should work on both X11 and Wayland.

Environment

  • OS: [e.g., Linux with Wayland]
  • Webex TUI version: [current main branch]
  • Clipboard library: [check Cargo.toml for clipboard crate]

Steps to Reproduce

  1. Run webex-tui on Wayland.
  2. Press 'y' to copy a message.
  3. Observe error in logs.

Additional Context

The clipboard implementation likely assumes X11. Consider using a Wayland-compatible clipboard library (e.g., wl-clipboard) or a cross-platform one like arboard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions