Describe the bug
The image background don't show itself for a moment when removing tab.
To Reproduce
Steps to reproduce the behavior:
- Add many tabs.
- Remove one tab.
- See that an background black take the first rendering instead of the background image.
Error gif:

Came from kitty 0.42.2 and it was fine.
minimal reproduction file, (i think any image should be able to reproduce the bug):
background_image /home/element/Pictures/illustrations/background_kitty.png
background_image_layout scaled
Environment details (ctrl + shift + F6)
kitty 0.43.1 (7f24dd68c9) created by Kovid Goyal
Linux element 6.14.0-33-generic #33~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 19 17:02:30 UTC 2 x86_64
Ubuntu 24.04.3 LTS element /dev/tty
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04.3 LTS"
Running under: X11
OpenGL: '3.1.0 NVIDIA 535.247.01' Detected version: 3.1
Frozen: True
Fonts:
medium: DejaVuSansMono: /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf:0
Features: ()
bold: DejaVuSansMono-Bold: /usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf:0
Features: ()
italic: DejaVuSansMono-Oblique: /usr/share/fonts/truetype/dejavu/DejaVuSansMono-Oblique.ttf:0
Features: ()
bi: DejaVuSansMono-BoldOblique: /usr/share/fonts/truetype/dejavu/DejaVuSansMono-BoldOblique.ttf:0
Features: ()
Paths:
kitty: /home/element/.local/kitty.app/bin/kitty
base dir: /home/element/.local/kitty.app/lib/kitty
extensions dir: /home/element/.local/kitty.app/lib/kitty-extensions
system shell: /usr/bin/fish
System color scheme: no_preference. Applied color theme type: none
Loaded config files:
./issue.conf
Config options different from defaults:
background_image /home/element/Pictures/illustrations/background_kitty.png
background_image_layout scaled
Important environment variables seen by the kitty process:
PATH /home/element/.juliaup/bin:/home/element/go/bin:node_modules/.bin:/home/element/.n/bin:/home/element/.local/share/bob/nvim-bin:/home/element/.local/bin:/home/element/bin:bin:/home/element/.fzf/bin:/home/element/.local/kitty.app/bin:/home/element/.juliaup/bin:/home/element/.cargo/bin:/home/element/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/element/.dotnet/tools
LANG en_GB.UTF-8
EDITOR nvim
SHELL /usr/bin/fish
DISPLAY :1
USER element
LC_IDENTIFICATION fr_FR.UTF-8
LC_ADDRESS fr_FR.UTF-8
LC_MEASUREMENT fr_FR.UTF-8
LC_TIME fr_FR.UTF-8
XDG_CURRENT_DESKTOP ubuntu:GNOME
XDG_SESSION_TYPE x11
XDG_CONFIG_DIRS /etc/xdg/xdg-ubuntu:/etc/xdg
LC_NAME fr_FR.UTF-8
LC_NUMERIC fr_FR.UTF-8
LC_MONETARY fr_FR.UTF-8
XDG_MENU_PREFIX gnome-
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_CLASS user
XDG_DATA_DIRS /usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
LC_PAPER fr_FR.UTF-8
LC_TELEPHONE fr_FR.UTF-8
XDG_RUNTIME_DIR /run/user/1000
Additional context
I tried only a background color and the bug didn't show up.
Describe the bug
The image background don't show itself for a moment when removing tab.
To Reproduce
Steps to reproduce the behavior:
Error gif:
Came from kitty 0.42.2 and it was fine.
minimal reproduction file, (i think any image should be able to reproduce the bug):
Environment details (ctrl + shift + F6)
Additional context
I tried only a background color and the bug didn't show up.