Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

fix(glass): no nested blur for the context popover; keep a wallpaper pick honest

iceclatterWTcdb9dceda344
diff --git a/src/renderer/components/settings/sections/AppearanceSection.tsx b/src/renderer/components/settings/sections/AppearanceSection.tsx
index 39a0ecc3a..7e63efbc0 100644
--- a/src/renderer/components/settings/sections/AppearanceSection.tsx
+++ b/src/renderer/components/settings/sections/AppearanceSection.tsx
@@ -370,7 +370,10 @@ export function AppearanceSection({ isActive }: { isActive: boolean }): React.JS
normalizeWallpaper(useSettings.getState().settings.desktopWallpaper).kind !== 'none'
if (hasWallpaper()) return
const stills = await window.nodeTerminal.wallpaper.listStills().catch(() => [])
- if (!hasWallpaper()) update({ desktopWallpaper: defaultWallpaper(stills) })
+ // The stills listing can take a while (first-run thumbnails): only pick a wallpaper if Liquid
+ // Glass is still the choice when it answers.
+ if (!hasWallpaper() && isLiquidGlass(useSettings.getState().settings.appTheme))
+ update({ desktopWallpaper: defaultWallpaper(stills) })
}
return (
<SettingsSection
diff --git a/src/renderer/styles.css b/src/renderer/styles.css
index 1a88c60ce..a61fc323f 100644
--- a/src/renderer/styles.css
+++ b/src/renderer/styles.css
@@ -13572,7 +13572,6 @@ body.focus-mode .dock:hover {
.sysres-pill,
.usage-popover,
.sessmem-panel,
- .ctx-popover,
.sessions-sidebar,
.phone-pair,
.focus-exit,
@@ -13615,8 +13614,9 @@ body.focus-mode .dock:hover {
}
/* Nested inside a blurred container (or unknown nesting): the fill only. */
+/* .ctx-popover opens INSIDE a terminal node (the context meter), which is already blurred. */
:root[data-nt-glass='on']
- :is(.dock-menu, .dock-menu__sub, .usage-refresh, .sessions-icon-cluster button) {
+ :is(.dock-menu, .dock-menu__sub, .usage-refresh, .sessions-icon-cluster button, .ctx-popover) {
background: var(--glass-chrome-bg) !important;
}
diff --git a/src/renderer/styles.palette.test.ts b/src/renderer/styles.palette.test.ts
index bffda102f..f4da9ae23 100644
--- a/src/renderer/styles.palette.test.ts
+++ b/src/renderer/styles.palette.test.ts
@@ -281,3 +281,12 @@ describe('needs-you and priorities under glass', () => {
}
})
})
+
+describe('no nested blur for the context popover', () => {
+ it('.ctx-popover (inside a blurred node) takes the fill only', () => {
+ const blurList = CSS.slice(CSS.indexOf('/* Outermost chrome: fill + blur. */'))
+ expect(blurList.slice(0, blurList.indexOf('{'))).not.toContain('.ctx-popover')
+ const fillOnly = CSS.slice(CSS.indexOf('/* .ctx-popover opens INSIDE a terminal node'))
+ expect(fillOnly.slice(0, fillOnly.indexOf('{'))).toContain('.ctx-popover')
+ })
+})