achristmascarl / rainfrog

🐸 a database management tui for postgres
https://crates.io/crates/rainfrog
MIT License
2.87k stars 57 forks source link

Clipboard copy isn't working on Wayland #105

Open bjesus opened 2 months ago

bjesus commented 2 months ago

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

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

achristmascarl commented 2 months ago

note to self for further reading: