gitui icon indicating copy to clipboard operation
gitui copied to clipboard

Unresponsive UI when copying a line from a modified file

Open matheusjunior opened this issue 2 years ago • 1 comments

Describe the bug Copying a line using [y] makes the UI unresponsive. It takes a long time, roughly a minute or possibly more, on a reasonably sized repo for it to get responsive again.

To Reproduce

  1. Download a reasonably sized repo, e.g., https://github.com/ava-labs/avalanchego
  2. Make a minor change on any given file, e.g., add fadsfasd to README.md.
  3. Save the modified file.
  4. Open gitui on Status tab [1]
  5. Navigate to modified file.
  6. Copy any line in the highlighted hunk.

Expected behavior UI does not get stuck when copying a single line.

Screenshots If applicable, add screenshots to help explain your problem.

Context (please complete the following information):

  • OS/Distro + Version: Ubuntu 20.04.6 LTS 5.15.0-69-generic
  • GitUI Version 0.22.1
  • Rust version: rustc 1.66.1 (90743e729 2023-01-10)

Additional context Add any other context about the problem here.

matheusjunior avatar Apr 06 '23 16:04 matheusjunior

This issue has been automatically marked as stale because it has not had any activity half a year. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 15 '23 14:10 stale[bot]