Skip to content

feat(window): make macOS window blur a real glass effect, with opt-in Interface Glass - #24359

Closed
pawel-kotowski wants to merge 14 commits into
stablyai:mainfrom
pawel-kotowski:feat/macos-window-glass
Closed

pawel-kotowski wants to merge 14 commits into
stablyai:mainfrom
pawel-kotowski:feat/macos-window-glass

Conversation

@pawel-kotowski

@pawel-kotowski pawel-kotowski commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

On macOS, Window Blur did nothing: the blur sat behind a wall Orca painted solid. This makes the native chat and terminals actually see-through glass. The window no longer goes into the "transparent" mode that heated laptops in #8482. You choose how much shows through. A separate, opt-in Interface Glass switch extends the glass to the rest of the window (sidebars, tab bar, status bar, full pages), as requested in #25068.

What Changed

  • macOS window glass (createMainWindow.ts). When Window Blur is on, the window gets vibrancy: 'under-window' with visualEffectState: 'active' and a clear backgroundColor, and never transparent: true. A --orca-window-glass argument tells the renderer whether this window was created with glass, which only takes effect after a restart (src/shared/window-glass.ts, preload platform.get().windowGlass).
  • Native chat glass. A new Chat Glass Opacity setting (macOS only, 0.2–1, default 0.6) tints the chat with one layer. The terminal underneath the chat is hidden.
  • Terminals. In glass mode, xterm's two repeated background layers are cleared, so the existing Background Opacity is now the opacity you actually see. Before, at 0.5 the three stacked layers added up to about 88% coverage. A terminal sharing a split with a chat keeps its tint via --pane-split-background.
  • Settings copy. Window Blur, Background Opacity and Chat Glass Opacity now explain what they do on each OS:
    • Linux: the Blur switch is disabled ("Not available on Linux").
    • Windows: the copy says the acrylic effect isn't visible yet, because Orca's panels are opaque.
  • Interface Glass (macOS, off by default) with Interface Glass Opacity (0.2–1, default 0.75). When on, the left and right sidebars, titlebar, tab strip, status bar and full pages (Settings, Tasks, Automations, Skills, …) swap their solid fill for the same theme color at that one alpha. Anything nested inside a tinted region (the Settings sidebar, the floating titlebar, inactive tabs) clears, so tints never stack; the sticky worktree header uses a small backdrop-filter so the list doesn't show through crisply. It applies live once the window was created with glass. Hooks are semantic classes (worktree-sidebar-panel, right-sidebar-panel, status-bar-surface, workspace-page-column, tab-strip-tab), all styled from the one glass block in main.css.
  • Editors, dialogs, popovers and content cards stay solid. Windows and Linux window creation is unchanged.
  • Chat canvas fix: after Soften native chat colors and code surfaces #25651 moved chat surfaces to the new --chat-canvas token, the chat lost its glass because the token resolves on :root. The glass shell now clears --chat-canvas too and tints from it.
  • i18n: drops three blur strings this PR had orphaned and regenerates the runtime English catalog, which was missing the glass copy.

Why

#10682 fixed #8482 by deleting the macOS effect. Its trade-off note said making blur really render would need "an alpha-capable backgroundColor, a non-opaque renderer root, and visualEffectState tuning". This PR is that feature work.

The GPU cost in #8482 came from transparent: true, which forces full-window alpha compositing on every frame. That flag also suppresses vibrancy (#8797). Vibrancy over a clear backgroundColor doesn't need it.

The aim is readability: a tunable frosted backdrop behind the chat UI and terminals.

Linked Issue

Related #8482 (follow-up to #10682's trade-off #1/#2: the macOS Window Blur toggle was a no-op)
Implements #25068 (full-interface glass, as an opt-in on top of the chat/terminal glass)

Visual Proof

Native chat on macOS 26, dev build, same conversation. Window Blur off (before) vs. on (after), Chat Glass Opacity 0.6. The sidebars and tab bar stay opaque; the composer is part of the chat surface and turns translucent with it.

Before (Window Blur off — what macOS users got even with it on) After (Window Blur on)

Terminal glass: Gruvbox Dark Hard theme, Background Opacity 0.6, Window Blur on. The blurred desktop shows through the terminal; the sidebars stay opaque.

Testing

Manually tested on macOS 26 (Apple Silicon) with a dev build (separate orca-dev profile):

  • Native chat (Claude) and terminals show the blurred desktop with Window Blur on.
  • The blur stays when Orca loses focus.
  • Chat Glass Opacity and Background Opacity apply live.
  • The rest of the UI stays solid.
  • Settings search finds the new and reworded entries.
  • Interface Glass: a DOM audit (Playwright, headless, dark and light) of the workspace and every full page lists each element that paints a background. With Interface Glass on, every chrome region paints exactly one translucent tint at the chosen alpha, nested regions are clear, and only content cards, editors and the Mobile page mockups stay solid. Screenshots on a real desktop backdrop to follow.

GPU power (sudo powermetrics --samplers gpu_power,cpu_power -i 2000, 10–20 samples per condition, window ~full built-in display at 1646×1072 of 1710×1107, restart between conditions). "Heavy" means 27 terminals all printing continuously: 20 background tabs plus a visible 2×2 split.

Condition Glass off Glass on Delta
Idle window 76 mW 115 mW +39 mW (+51%)
Heavy, 27 printing terminals ~247 mW ~320 mW +~75 mW (+30%)
#8482's old blur (transparent: true + vibrancy), reporter's numbers 804 mW 5,365 mW +4,561 mW (+567%)

CPU power was the same in both heavy runs (~12.4 W, almost all from the shell loops). The old blur's absolute cost was about 60× higher. Caveats:

  • These are single runs on one machine, with other apps running.

  • I didn't recreate [Bug]: Window Blur causes sustained high GPU power and heat on macOS #8482's 158 sessions or the Workspace Board view, which peaked at 15 W there.

  • A larger external display or busy content behind the window will cost more.

  • I manually tested these changes locally

  • Automated tests added/updated

    • createMainWindow.test.ts: the [Bug]: Window Blur causes sustained high GPU power and heat on macOS #8482 guard still forbids transparent: true on every platform. It now expects macOS vibrancy and the glass argument only when blur is on, and opaque creation when blur is off.
    • New window-glass.test.ts covers the shared helpers.
    • use-document-appearance.test.tsx: interface-glass is only set on a glass window, follows the setting live, and publishes the opacity.
    • terminal-search.test.ts: the chat and interface glass entries are listed only on desktop macOS.

pnpm tc and the changed-code quality gate pass, as do the affected suites (main window, settings, pane-manager, i18n, preload, document appearance). Windows and Linux were not tested at runtime; their window creation paths are byte-identical except for the added copy.

AI Disclosure

Implemented with Claude Code (Claude Opus 5.5), reviewed and manually tested by the author.

Review

Agent skill upstream boundary

  • Not applicable

Notes

  • Cross-platform: glass is gated on darwin, and Windows acrylic and Linux are unchanged. Per-OS copy uses window.api.platform, and the web client reports windowGlass: false.
  • SSH / remote / mobile: the change is renderer CSS and window creation only. There are no wire, RPC or host-side changes.
  • Backwards compatibility: the new optional settings nativeChatGlassOpacity, interfaceGlass and interfaceGlassOpacity are clamped on read; Interface Glass is off by default. Existing users with blur on will see glass after updating; previously the toggle did nothing on macOS.
  • Performance: see the table above. The cost scales with visible window area and redraw rate, not terminal count, consistent with [Bug]: Window Blur causes sustained high GPU power and heat on macOS #8482's hidden-window measurement.

Checklist

  • This PR is small and focused
  • I explained what changed and why (including ELI5)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (typecheck, changed-file lint, and affected suites pass locally; full lint/test/build left to CI)

🤖 Generated with Claude Code

@pullfrog

pullfrog Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

This run was cancelled 🛑

The workflow was cancelled before completion. Please check the link below for details.

Pullfrog  | View workflow run | via Pullfrog | 𝕏

@greptile-apps

greptile-apps Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

[Medium risk] Adds macOS window glass effect with new settings and CSS styling.

The PR appears safe to merge based on the reviewed changes and resolved previous threads.

Findings

  1. P2 Linux blur appears enabled ▶

Summary

The PR enables macOS window glass for chat and terminals, adds opacity controls and platform-specific settings copy, and extends tests. Changes since the previous review also add macOS SSH hostile-host coverage, adjust relay-cell recovery and plan validation, and classify relay peer write failures.

  • The three previous Greptile threads are resolved; the current code includes the split-pane background handling, platform-filtered search entry, and unchecked disabled Linux switch.
  • No new actionable issue was established from the changes since that review.

Reviews (4) · Last reviewed commit: "fix(settings): give the web client its o..."

Comment thread src/renderer/src/assets/main.css Resolved
@coderabbitai

coderabbitai Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Important

Review skipped

We couldn't safely recover the incremental review. No full review was started, and the last reviewed checkpoint was preserved. Retry later, or explicitly request a full review by commenting @coderabbitai full review.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

  • Last reviewed commit: 1912d7b72f169fc5e14aa93458960a9914cb379f
  • Latest commit, not reviewed: 0930302

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1daa3878-07fd-4b61-8b63-83a35415605a
📥 Commits

Reviewing files that changed from the base of the PR and between 8c7a3cd06a350b55a13a8ae1efe6e632833228a3 and 1912d7b72f169fc5e14aa93458960a9914cb379f.

📒 Files selected for processing (11)
  • src/renderer/src/app-shell/use-document-appearance.test.tsx
  • src/renderer/src/app-shell/use-document-appearance.ts
  • src/renderer/src/assets/main.css
  • src/renderer/src/components/settings/MacWindowGlassSettings.tsx
  • src/renderer/src/components/settings/terminal-search.test.ts
  • src/renderer/src/components/settings/terminal-window-glass-copy.ts
  • src/renderer/src/components/settings/terminal-window-setup-search.ts
  • src/renderer/src/i18n/en-runtime-required.json
  • src/renderer/src/i18n/locales/en.json
  • src/shared/default-global-settings.ts
  • src/shared/global-settings-types.ts
🚧 Files skipped from review as they are similar to previous changes (2)
  • src/renderer/src/i18n/en-runtime-required.json
  • src/renderer/src/i18n/locales/en.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.

📝 Walkthrough

macOS windows use vibrancy and transparency when window blur is enabled. Windows retains acrylic blur, while Linux receives no platform blur options. The preload API reports whether the window was created with glass. The renderer applies glass styles and configurable chat and interface opacity. Platform-specific settings, copy, search entries, and translations are updated.

Priority: ➖ Normal

Merge Risk: ⚪ Minimal · up to 1912d

The reported mixed-pane opacity issue is already prevented by the existing styles. No identified issue remains to block merging after normal checks.

Security Architecture Review

Security architecture risk: 🔵 Low · up to e7946

This is a bounded desktop appearance change. Existing isolation and identity controls remain in place, and no new privileged operation was identified. Settings persistence and native-window behavior have not been exhaustively validated.

Retained concerns
No architecture-level concerns identified.

Security review details

Security Blast Radius

  • inferred — The inspected glass path affects presentation in blur-enabled native macOS windows. Its consumers reach CSS styling rather than a privileged sink, and the web platform implementation explicitly reports windowGlass as false.

Trust Boundaries and Controls

  • observed — The inspected window configuration retains sandboxed preload execution. The glass marker is appended separately from the existing browser-client host identity argument, and preload reads the two through separate parsers. The new platform field supplies no renderer-to-main command.

Resilience and Maintainability Implications

  • inferred — Using creation-derived state prevents live preference changes from misrepresenting the native window capability. The new opacity preference uses the existing settings persistence path; inspected tests specify authoritative-response rebasing and retention of prior local settings after persistence failure, although the underlying persistence helper was not fully inspected.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 19.35% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 31 functions across 25 files. (3 skipped:… Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the main change: macOS window blur becomes a glass effect, with opt-in Interface Glass.
Description check ✅ Passed The description covers the required sections with detailed change rationale, visual proof, testing, linked issue context, and compatibility notes. It also states that full lint, test, and build checks…
Linked Issues check ✅ Passed Issue [#8482] is closed and provides historical context only. No active directly linked issue remains, so no linked-issue coding requirements apply.
Out of Scope Changes check ✅ Passed The window creation, renderer glass surfaces, settings, platform-specific copy, and tests all support the PR’s stated macOS glass feature. The reviewed changes show no unrelated work.
Full details: Docstring Coverage

Explanation

Docstring coverage is 19.35% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 31 functions across 25 files. (3 skipped: 3 unsupported.)

  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.

Comment @coderabbitai help to get the list of available commands.

pawel-kotowski added a commit to pawel-kotowski/orca that referenced this pull request Oct 1, 2026
pawel-kotowski added a commit to pawel-kotowski/orca that referenced this pull request Oct 1, 2026
@pawel-kotowski
pawel-kotowski marked this pull request as draft October 1, 2026 11:05
@pawel-kotowski
pawel-kotowski force-pushed the feat/macos-window-glass branch from e794616 to a4e647a Compare October 1, 2026 11:10
pawel-kotowski added a commit to pawel-kotowski/orca that referenced this pull request Oct 1, 2026
@pawel-kotowski
pawel-kotowski marked this pull request as ready for review October 1, 2026 11:19

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ No critical issues — one minor cross-client gating gap inline.

Reviewed changes

  • macOS window creation — createMainWindow now maps windowBackgroundBlur on darwin to vibrancy: 'under-window' + visualEffectState: 'active' + a clear backgroundColor, and never transparent: true; Windows keeps acrylic and Linux is unchanged.
  • Glass capability wiring — new --orca-window-glass argument stamped at window creation, read back in the sandboxed preload as platform.get().windowGlass, and exposed to the renderer.
  • Renderer glass CSS — html.window-glass clears body, tints .native-chat-pane-shell, clears xterm's redundant background layers, clears the split root under a chat pane, and re-applies the terminal tint to sibling panes.
  • Pane divider — applyRootBackground now tags the root pane-split-root and publishes --pane-split-background for the glass rules.
  • Settings — new macOS-only nativeChatGlassOpacity setting plus per-OS Window Blur / Background Opacity copy; Linux disables the blur switch; the search index adds the chat-glass entry only on macOS.
  • Tests — window-glass.test.ts (new), updated createMainWindow.test.ts, pane-divider.test.ts, and terminal-search.test.ts. All pass locally, as do the localization-catalog verification and the changed-code quality gate.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ No critical issues — one minor follow-up inline.

Reviewed changes

  • Gated the Chat Glass Opacity control on darwin && !isWebClientLocation(), matching AppearancePane's isDesktopMac predicate.
  • Changed getTerminalWindowSearchEntries's default so the Chat Glass Opacity search entry only appears on desktop macOS.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

@pawel-kotowski
pawel-kotowski force-pushed the feat/macos-window-glass branch from 15529b0 to 2765ecd Compare October 1, 2026 12:21

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

  • Added a web glass-copy platform so any browser web client renders its own Window Blur copy instead of macOS copy, and returns it before the OS mapping.
  • Routed the control, both descriptions, and the search-entry default through the single getGlassCopyPlatform gate, removing the redundant !isWebClientLocation() check in TerminalWindowSection.
  • Added terminal-window-glass-copy.test.ts covering the desktop platform mappings and the macOS-web-client case.

Both prior threads are addressed at 2765ecdd and resolved: on a macOS browser web client getGlassCopyPlatform() now returns web, so the Chat Glass control and its search hit stay hidden, windowBlurDescription no longer references the hidden control, and backgroundOpacityDescription no longer claims the desktop shows through. The affected suites (terminal-window-glass-copy.test.ts, terminal-search.test.ts, window-glass.test.ts) pass locally.

Pullfrog  | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

@pawel-kotowski
pawel-kotowski force-pushed the feat/macos-window-glass branch from 2765ecd to 431701c Compare October 6, 2026 12:09
@pawel-kotowski pawel-kotowski changed the title feat(window): make macOS window blur a real glass effect for chat and terminals feat(window): make macOS window blur a real glass effect, with opt-in Interface Glass Oct 6, 2026
@pawel-kotowski

Copy link
Copy Markdown
Contributor Author

Rebased on current main and pushed 431701c7c, which adds the opt-in Interface Glass setting (#25068) and fixes chat glass after #25651. Requesting fresh reviews of the new head.

@coderabbitai full review
@greptileai review

@coderabbitai

coderabbitai Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor
✅ Action performed

Full review finished.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2e552fee-64e5-4bc8-8691-40dace645ecb
📥 Commits

Reviewing files that changed from the base of the PR and between b752131 and 431701c7c7f3bee48c21f71e8f4f679b36284a73.

📒 Files selected for processing (33)
  • src/main/window/createMainWindow.test.ts
  • src/main/window/createMainWindow.ts
  • src/preload/api/app-api.ts
  • src/preload/api/platform-bridge.ts
  • src/renderer/src/app-shell/AppRootSurfaces.tsx
  • src/renderer/src/app-shell/AppWorkspaceShell.tsx
  • src/renderer/src/app-shell/use-document-appearance.test.tsx
  • src/renderer/src/app-shell/use-document-appearance.ts
  • src/renderer/src/assets/main.css
  • src/renderer/src/components/right-sidebar/index.tsx
  • src/renderer/src/components/settings/MacWindowGlassSettings.tsx
  • src/renderer/src/components/settings/TerminalWindowSection.tsx
  • src/renderer/src/components/settings/terminal-search.test.ts
  • src/renderer/src/components/settings/terminal-window-glass-copy.test.ts
  • src/renderer/src/components/settings/terminal-window-glass-copy.ts
  • src/renderer/src/components/settings/terminal-window-setup-search.ts
  • src/renderer/src/components/sidebar/index.tsx
  • src/renderer/src/components/status-bar/StatusBarSurface.tsx
  • src/renderer/src/components/tab-bar/drop-indicator.ts
  • src/renderer/src/i18n/en-runtime-required.json
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/fr.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/zh.json
  • src/renderer/src/lib/pane-manager/pane-divider.test.ts
  • src/renderer/src/lib/pane-manager/pane-divider.ts
  • src/renderer/src/web/preload-api/web-platform-api.ts
  • src/shared/default-global-settings.ts
  • src/shared/global-settings-types.ts
  • src/shared/window-glass.test.ts
  • src/shared/window-glass.ts
💤 Files with no reviewable changes (5)
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/fr.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/zh.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Comment thread src/renderer/src/assets/main.css Resolved
@pawel-kotowski

Copy link
Copy Markdown
Contributor Author

Glass now also covers structured chat sessions (3956c5fef): they mount outside the terminal pane, so the .native-chat-pane-shell rules never matched and they stayed opaque. The structured overlay now wraps its chat in the same shell.

🤖 Generated with Claude Code

@pawel-kotowski
pawel-kotowski force-pushed the feat/macos-window-glass branch 2 times, most recently from fe18026 to 9429258 Compare October 15, 2026 08:18
pawel-kotowski and others added 5 commits October 19, 2026 19:24
… terminals

Window Blur on macOS produced nothing visible: stablyai#10682 removed the vibrancy
because `transparent: true` burned GPU power while the opaque renderer hid it.
Create the glass window with vibrancy over a clear backgroundColor instead
(never `transparent: true`), keep it active when unfocused, and let only the
native chat and terminal surfaces clear their layers down to one tint.

- New Chat Glass Opacity setting (macOS) tints the native chat
- Terminal Background Opacity now paints a single layer in glass mode
- Window settings copy explains behavior per macOS / Windows / Linux

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… settings

- Clear the pane-manager root (which owns the inline split background) when it
  hosts a chat pane, not only the chat's direct split parent
- Only list Chat Glass Opacity in settings search on macOS, where it renders
- Show Window Blur as off on Linux even if a saved value says true

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A browser web client on macOS reports darwin but never has a glass window,
so gate the control and its search entry on desktop macOS like AppearancePane.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
getGlassCopyPlatform now returns 'web' for a browser client, so the control,
its descriptions, and the search entry share one gate and the web client
never shows macOS copy that points at the hidden Chat Glass Opacity control.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Native chat surfaces moved to bg-chat-canvas (stablyai#25651), a token resolved on :root,
so clearing --background no longer made them transparent and the chat lost its glass.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
pawel-kotowski and others added 9 commits October 19, 2026 19:24
The Window Blur and Background Opacity copy moved to the glass keys, leaving
three unused entries that the runtime English catalog check flags.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…als and chat

Window Blur keeps glass on terminals and the chat UI only. Interface Glass
(macOS, off by default) also clears the sidebars, titlebar, tab strip, status
bar and full pages such as Settings to a single tint over the backdrop, set by
Interface Glass Opacity. Each region keeps its own theme color at that alpha,
and anything nested in a tinted region clears so layers never stack. Editors,
dialogs and content cards stay solid. It applies live once the glass window
exists.

Also regenerates the runtime English catalog, which was missing the glass copy.

Requested in stablyai#25068.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
With the activity bar on the side, its icon strip kept an opaque bg-sidebar
next to the translucent panel. Panels that repeat the sidebar fill (AI Vault)
and sidebar sticky headers/footers (Source Control) also stacked a second
layer. The strip now shares the panel tint, nested repeats of either
sidebar's fill clear, and sticky rows clear with a backdrop blur.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…m main

Chat contrast (stablyai#25659) re-derives the chat palette on the appearance root from
--background, which glass clears in chat panes. Text and faint colors mixed
against transparent came out part-transparent, and each layer painting the
re-derived canvas laid a faint foreground veil over the glass. Resolve the
palette on the root against the solid theme surface and clear the canvas only
below it, so the glass tint is the one layer that paints.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…at Glass)

Under Window Blur, terminals tint with their theme background at Background
Opacity. A mid-dark theme such as Gruvbox (#282828) at 60% reads as mid-grey
over the vibrancy, and Color Contrast can't help because it measures against
the opaque theme color. The new macOS switch (off by default) gives terminals
the chat glass color and Chat Glass Opacity instead, so terminals and chat read
as one material.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…hat Glass

The split root got the chat tint, but xterm still painted its theme background
at Background Opacity on top, so terminals stayed grey. With the option on, panes
get a transparent theme background (allowTransparency on); the composed theme
with the real background still feeds OSC 11 replies and the contrast floor.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Structured chat sessions mount outside the terminal pane, so the
.native-chat-pane-shell glass rules never matched and they painted the
opaque chat canvas.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…lass

global-settings-types.ts sits at its 300-line ceiling on main, and the glass
settings pushed it over. The see-through backdrop settings (background
opacity, blur and the four glass settings) now live in one
WindowGlassGlobalSettings type in shared/window-glass.ts, which GlobalSettings
intersects as it does NativeChatGlobalSettings.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…der glass

Interface Glass cleared every sticky header and footer in both sidebars and
relied on a backdrop blur to hide the rows scrolling beneath them. The blur
does not hide them over the window vibrancy, so the docked Commits panel,
worktree section headers, AI Vault group headers and checks headers showed
the list through. Sticky surfaces now keep their own fill.

Window glass also cleared --chat-canvas for overlays positioned over the
transcript (the file-drop scrim, attachment controls); they now keep the
solid chat canvas.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@nwparker

nwparker commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Closing as superseded by #36580, which adds Opaque, Translucent and Blurred window materials on macOS, Windows and Linux (plus Reduce Visual Effects) and fixes the transparent-terminal flicker. Thank you for this PR, it shaped the design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Window Blur causes sustained high GPU power and heat on macOS

2 participants