Skip to content

Clipboard copy isn't working on Wayland #105

@bjesus

Description

@bjesus

bug description

Following on #79 , opening a new issue here. Just installed 0.2.5 and whenever I try to copy I get an error displayed on the screen saying "cat: write error: broken pipe" (see screeshot). unfrotunatley the logs don't seem to have anything useful.

screenshot_2024-09-26_17-32-51_904765945

technical details

system info

  • Linux, Ubuntu, installed with Cargo
  • rainfrog 0.2.5
2024-09-26T15:31:56.723555Z ERROR /home/bjesus/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rainfrog-0.2.5/src/config.rs:62: No configuration file found. Application may not behave as expected    
2024-09-26T15:31:59.023560Z  INFO /home/bjesus/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rainfrog-0.2.5/src/app.rs:139: Pool { size: 1, num_idle: 1, is_closed: false, options: PoolOptions { max_connections: 5, min_connections: 0, connect_timeout: 30s, max_lifetime: Some(1800s), idle_timeout: Some(600s), test_before_acquire: true } }    
2024-09-26T15:31:59.024604Z  INFO /home/bjesus/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rainfrog-0.2.5/src/app.rs:351: LoadMenu    
2024-09-26T15:31:59.443811Z  INFO /home/bjesus/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rainfrog-0.2.5/src/components/menu.rs:162: setting menu table list    
2024-09-26T15:31:59.443887Z  INFO /home/bjesus/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rainfrog-0.2.5/src/app.rs:203: Got action: FocusEditor    
2024-09-26T15:32:07.061389Z  INFO /home/bjesus/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rainfrog-0.2.5/src/app.rs:413: 100 rows, Some(100) affected    
2024-09-26T15:32:58.367610Z  INFO /home/bjesus/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rainfrog-0.2.5/src/app.rs:203: Got action: Quit    

steps to reproduce

  1. Select a row or specific cell
  2. press y
  3. see the error displayed in the UI
  4. try to paste - nothing to paste

expected behavior

it should copy and it shouldn't display an error in the UI

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