[macOS] System titlebar background becomes transparent with `background_opacity < 1` since 0.49 on macOS 27
Describe the bug
After upgrading kitty from 0.48.x to 0.49.x, the native macOS titlebar background becomes fully transparent when background_opacity is less than 1.
To Reproduce
Set background_opacity to a number less than 1 in kitty.conf and open kitty.
Or run:
kitty --config NONE -o background_opacity=0.75Expected behavior
The terminal content area should use the configured opacity, while the native macOS titlebar should retain the normal opaque system appearance, as it did in kitty 0.48.x.
Screenshots
On kitty 0.49.1, titlebar background becomes fully transparent:
With the same configuration on kitty 0.48.2 (expected behaviour):
Environment details
kitty 0.49.1 (c9896e8c00) created by Kovid Goyal
Darwin macmini.local 27.0.0 Darwin Kernel Version 27.0.0: Tue Aug 11 21:02:57 PDT 2026; root:xnu-13432.1.9~1/RELEASE_ARM64_T8132 arm64
ProductName: macOS ProductVersion: 27.0 BuildVersion: 26A428
OpenGL: '4.1 Metal - 91.7' Detected version: 4.1
Frozen: True
Fonts:
medium: MesloLGSNFM-Regular: /Users/zhaoyihan/Library/Fonts/MesloLGSNerdFontMono-Regular.ttf
Features: ()
bold: MesloLGSNFM-Bold: /Users/zhaoyihan/Library/Fonts/MesloLGSNerdFontMono-Bold.ttf
Features: ()
italic: MesloLGSNFM-Italic: /Users/zhaoyihan/Library/Fonts/MesloLGSNerdFontMono-Italic.ttf
Features: ()
bi: MesloLGSNFM-BoldItalic: /Users/zhaoyihan/Library/Fonts/MesloLGSNerdFontMono-BoldItalic.ttf
Features: ()
Paths:
kitty: /Applications/kitty.app/Contents/MacOS/kitty
base dir: /Applications/kitty.app/Contents/Resources/kitty
extensions dir: /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions
system shell: /bin/zsh
System color scheme: dark. Applied color theme type: none
Loaded config files:
/Users/zhaoyihan/.config/kitty/kitty.conf
Config options different from defaults:
background_opacity 0.75
font_family MesloLGS Nerd Font Mono
font_size 14.0
scrollback_lines 10000
shell_integration frozenset({'enabled', 'no-title'})
window_padding_width FloatEdges(left=10.0, top=25.0, right=10.0, bottom=10.0)
Changed shortcuts:
cmd+k → clear_terminal_and_scrollback
cmd+l → clear_last_command
ctrl+cmd+, → reload_config
ctrl+cmd+l → clear_screen
opt+cmd+k → clear_scrollback
opt+cmd+r → reset_terminal
shift+cmd+/ → open_kitty_website
Important environment variables seen by the kitty process:
PATH /Applications/kitty.app/Contents/MacOS:/usr/bin:/bin:/usr/sbin:/sbin
LANG zh_CN.UTF-8
SHELL /bin/zsh
DISPLAY /var/run/com.apple.launchd.J7OYQGNWhF/org.xquartz:0
USER zhaoyihan
Relevant environment info:
macOS 27.0
M4 Mac mini
kitty 0.49.1Additional context
I searched the existing issues and found several reports related to interactions between background_opacity and the macOS titlebar:
- #8906 —
make macos_titlebar_color=background support transparent - #9001 —
set_background_opacity incompatible with macos_titlebar_color - #9011 —
Titlebar color not working if tranparency is enabled
Those issues appear to concern macos_titlebar_color=background, custom titlebar colors, or dynamic opacity behavior.
I could not find an existing report for this specific behavior change with macos_titlebar_color=system: the native titlebar background remains opaque in kitty 0.48.x but becomes fully transparent in kitty 0.49.x with the same configuration.
Source: kovidgoyal/kitty