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: background bleeds/flicker when resizing splits, creating tabs #4516

Open
mitchellh opened this issue Jan 3, 2025 · 3 comments
Open
Labels
gui GUI or app issue regardless of platform (i.e. Swift, GTK) os/macos

Comments

@mitchellh
Copy link
Contributor

Discussion: #4182, #4181, #4180, #3508

I'm not sure what is causing this yet but it'd be great to nail this down and clean this up.

Screenshot.2024-12-31.at.04.40.20.AM.mp4
@mitchellh mitchellh added gui GUI or app issue regardless of platform (i.e. Swift, GTK) os/macos labels Jan 3, 2025
@andrewcrook
Copy link

andrewcrook commented Jan 5, 2025

I get this as well. the title bar and main window area resize at different rates.

Image

@dmehala
Copy link
Collaborator

dmehala commented Jan 5, 2025

I suspect what we're observing is the latency between the surface redraw and the window resize with a transparent background. Since fa83140 the background is fully transparent and made this more noticeable for users with background-opacity = 1.

Here's a video, top is without fa83140 and bottom 1.01+f4a9b65f:

Screen.Recording.2025-01-05.at.21.36.57.mp4

Unfortunately, the solution isn't as simple as reverting fa83140, because the issue will persist when using background-opacity = 0.x.

@andrewcrook
Copy link

andrewcrook commented Jan 5, 2025

I find its not as bad having background-opacity < 1 like 0.9 than having it as 1.

It doesn’t get rid of the issue but I wonder if there could be or is an option to turn off redrawing during resizing and dragging?
Just have the overlay and redraw after such an action is completed?

I know this can be done on macOS via an OS wide setting, however, can it be done per app i.e Ghostty’s configuration?

Cannot unsee it now 🙁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gui GUI or app issue regardless of platform (i.e. Swift, GTK) os/macos
Projects
None yet
Development

No branches or pull requests

3 participants