gitui icon indicating copy to clipboard operation
gitui copied to clipboard

Stuck text in Commit Message

Open adsick opened this issue 5 months ago • 6 comments

I just look through the commits and at some moment I start seeing parts of previously viewed commit messages that don't disappear as I switch to the next commit. It disappears on window resize.

Screenshots

Image

Context (please complete the following information):

  • OS/Distro: Fedora 42
  • GitUI Version: gitui nightly 2025-01-15 ()

adsick avatar Jul 16 '25 13:07 adsick

can you run this with gitui -l to emit logs to diagnose?

extrawurst avatar Jul 16 '25 13:07 extrawurst

gitui.log I don't expect you to see anything here, but here it is.

adsick avatar Jul 16 '25 13:07 adsick

Seems just like the window buffer is not cleared completely

adsick avatar Jul 16 '25 14:07 adsick

can you reliably reproduce this? if so please share a screen recording

extrawurst avatar Jul 16 '25 14:07 extrawurst

I just tried to reproduce it in a couple of open repositories and I couldn't. It reliably happens in my work repository though 🤯. Seems like it's invisible characters or newline formats something-something. Anyways it can be avoided by greedily redrawing the window, I don't think that's a ton of cpu cycles.

adsick avatar Jul 16 '25 14:07 adsick

Idk if this is related (shouldn't be?), but the repo is hosted on Bitbucket, unlike most normal projects that use GitHub.

adsick avatar Jul 16 '25 14:07 adsick