macOS: hidden-titlebar window starts opaque #13320
Issue DescriptionOn macOS, a new Ghostty instance sometimes ignores background-opacity = 0.7
macos-titlebar-style = hiddenThe configured opacity becomes visible immediately after either:
Changing application or window focus does not fix it. I tested the complete rendered configuration using automated immediate screenshots. The two configurations differed by exactly one line: -macos-titlebar-style = hidden
+macos-titlebar-style = transparentOn Ghostty
Possibly related reports:
The fact that both configuration reload and creating a split repair the background suggests that the initial window appearance is not always synchronized after the hidden-titlebar window becomes visible. Written mostly by AI, revised by me. Also not referred, might be important: I'm using aerospace in mac, so it may be related, not sure. Expected BehaviorThe terminal background should use the configured Actual BehaviorThe new window initially has a fully opaque terminal background. The configured opacity is applied after reloading the configuration or creating a split. Reproduction Steps
/usr/bin/open -na Ghostty --args \
--config-default-files=false \
--background-opacity=0.7 \
--macos-titlebar-style=hidden
Alternatively, after step 2, press Cmd+D to create a split. This also applies the configured transparency. As a control, replace Ghostty LogsGhostty VersionOS Version InformationmacOS 26.5.2 (25F84) (Linux only) Display ServerNone (Linux only) Desktop Environment/Window ManagerNo response Minimal Ghostty Configurationbackground-opacity = 0.7
macos-titlebar-style = hiddenAdditional Relevant ConfigurationI'm using aerospace, may be relevant I acknowledge that:
|
Thanks #13324