Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS: sometimes content lingers after resize when alpha #1207

Closed
erf opened this issue Dec 5, 2018 · 5 comments
Closed

macOS: sometimes content lingers after resize when alpha #1207

erf opened this issue Dec 5, 2018 · 5 comments

Comments

@erf
Copy link

erf commented Dec 5, 2018

I'm not able to recreate this issue consistently, but here are steps to reproduce:

  1. i use a kitty.config with "background_opacity 0.8"
  2. i do a "ls" to display some text
  3. i rapidly resize the window using the bottom right corner
    Sometimes when i do this the font enlarges and changes ratio, and sometimes when this happens, the stretched / enlarged text is left as part of the background ( screen is not completly cleared it seem ).

I'm on macOS, kitty version 0.13.0.

Screenshot of artifact after resize ( notice the white enlarged text in the background ):
screenshot 2018-12-05 at 16 28 51

@kovidgoyal
Copy link
Owner

I cannot reproduce this on my macbook. Indeed during a resize, the kitty window is explicitly rendered with an empty background color, so I dont see how this can happen. This was done deliberately, see 21d586c

@erf
Copy link
Author

erf commented Dec 6, 2018

I usually have to give this a few (~10) tries before the issue shows up. Resizing from small to big.

@kovidgoyal
Copy link
Owner

I tried resizing it continuously big smal smal big for a few minutes ata time and could not reproduce.

@erf
Copy link
Author

erf commented Dec 6, 2018

Ok. I also notice this, on a rare occasion, happens when i press CTRL-l to clear the screen, and the text lingeres in the background as grey text. Maybe it could be a threading/timing issue.

@kovidgoyal
Copy link
Owner

dont see how, kitty is single threaded, only input from the child process is read in a different thread. All actual rendering happens in one thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants