-
-
Notifications
You must be signed in to change notification settings - Fork 977
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
[Hyprland] New window flash black on opening #7963
Comments
I doubt this has anything to do with kitty, probably part of the window creation/placement animation that you have configured hyprland to do. I cant replicate it on my system in hyprland. Running kitty with kitty -o background_opacity=0.5 -o background=red I have limited amounts of time I can devote to window manager specific issues. But if you wish to investigate and submit a PR, feel free. Relevant code is in wl_window.c. kitty actually uses a single pixel custom surface as the background until the window is created and this reflects the background color and opacity correctly as far as I know, see attach_temp_buffer_during_window_creation(). |
Sorry to bother you again. Untitled.mp4Do you think this could be a hyprland problem ? |
I tried with an other terminal (Wezterm) and the problem didn't occurred, even with the hyprland animation enabled. So I think this might be on kitty's side and not hyprland. |
I cannot replicate so I cant help and it definitely looks like a hyprland issue. kitty never changes the opacity of the surfaces it creates. As I said a PR is welcome. |
Describe the bug
When opening a new window in hyprland, the initial background color seems to be black and after a few frames it changes to the right color / background_opacity. So it look like the window is flashing black when opening.
Setting the background_opacity to 1 seems to fix the issue.
Screenshots
Untitled.mp4
Environment details
Kitty debug info
Additional context
hyprland.conf (don't know if this is relevant or not)
The text was updated successfully, but these errors were encountered: