Skip to content

fix(theme): stop a themed window covering the sidebar in full screen - #4635

Merged
datlechin merged 2 commits into
mainfrom
fix/fullscreen-sidebar-black-band
Nov 27, 2026
Merged

datlechin merged 2 commits into
mainfrom
fix/fullscreen-sidebar-black-band

Conversation

@datlechin

@datlechin datlechin commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Content windows keep an opaque titlebar in full screen. Transparent under a theme's window color (macOS 26+), AppKit's full-screen toolbar window draws an opaque system backstop under one titlebar section: the sidebar's when the window has an inspector (main, Data File), over the workspace rail, Tables/Favorites and Filter. Handing the color back at willEnterFullScreen is too late to remove it.
  • The full-screen toolbar is now the system material in every theme, as it already was with the default theme.
  • The titlebar policy no longer reads toolbar visibility: drop the toggleToolbarShown override and the re-apply after the toolbar attaches.
  • A refused full-screen entry (windowDidFailToEnterFullScreen) restores the transparent titlebar in the main, Data File and Compare & Sync windows.
  • An opaque titlebar makes its accessories vibrant, where the selected editor tab drew below the track (76 over 88; One Dark 76 over 25). A vibrant tab strip now resolves its fills in its window's appearance, and its track takes the theme only while not vibrant. This also changes the strip before macOS 26, where every titlebar is opaque; not measured there.
  • apple/scripts/probes/check-fullscreen-titlebar-backstop.sh measures the backstop and the vibrant accessory.
  • .claude/rules/theme.md, Windows: the full-screen titlebar, the vibrant strip and the failed-entry forward.
  • ContentWindowTitlebarTests pinned a transparent titlebar in full screen with a toolbar; updated to the new policy.
  • Docs: docs(customization): the full-screen toolbar keeps the system look docs#301.

Test plan

  • EditorTabStripTrackThemeTests/vibrantStripDrawsLikeTheTransparentTitlebar: with the old drawing the selected tab draws opaque 0.237 gray instead of white at 25%; passes here.
  • ContentWindowTitlebarTests/fullScreenWithAToolbar() fails on main (transparent titlebar) and passes here; failedFullScreenEntry() covers the refused entry.
  • verify.sh test over the tab strip, titlebar and backdrop suites: 79 passed.
  • Probe: PASS on macOS 27.0.1.
  • Debug build on macOS 27.0.1, full screen, default theme: the titlebar band matches main except the selected tab title, now as bright as in a window (peak 243; window 238; before 203).
Before After
One Dark Before, dark After, dark
One Light Before, light After, light

Fixes #4498

@datlechin datlechin added backport release/0.89 Merged into main; pick onto release/0.89 bug Something isn't working labels Nov 27, 2026
@datlechin
datlechin merged commit 8af8705 into main Nov 27, 2026
11 checks passed
@datlechin
datlechin deleted the fix/fullscreen-sidebar-black-band branch November 27, 2026 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport release/0.89 Merged into main; pick onto release/0.89 bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Black rendering artifact appears on sidebar in full-screen mode

1 participant