Skip to content

The agent that grows with you

fix(desktop): drop backdrop blur when the OS asks for reduced transparency

Brooklyn Nicholson10b24064dd4e
diff --git a/apps/desktop/src/styles.css b/apps/desktop/src/styles.css
index 3c99d72d817..9c9a3a89b73 100644
--- a/apps/desktop/src/styles.css
+++ b/apps/desktop/src/styles.css
@@ -32,6 +32,38 @@
}
}
+/* Blanket reduced-transparency gate: turn the CSS backdrop-filter frost OFF
+ everywhere when the OS accessibility signal asks for it (macOS: System
+ Settings → Accessibility → Display → Reduce transparency; Windows 11
+ respects the same query through contrast/transparency settings).
+
+ Why a media gate and not per-surface surgery: backdrop-filter is only cheap
+ on surfaces whose content AND geometry are static (what #69130 established
+ for the typing surface). The status-stack cards (composerDockCard →
+ composerSurfaceGlass) sit over a live braille spinner and a 1 Hz activity
+ timer, and menu/popover surfaces animate their own geometry while open —
+ each animation frame changes the filtered region and forces a full
+ backdrop re-sample. On a transparent window (plugin wallpaper themes) that
+ re-sample re-reads the wallpaper layer; when the filter pass is late for a
+ frame, the surfaces paint unblurred and the whole docked area strobes
+ (#121910). Dropping the filter on the OS signal removes the re-sample from
+ the frame budget entirely, for every frosted surface at once — present and
+ future. Legibility does not regress: every frosted surface already carries
+ its own alpha-mixed fill (--composer-fill at 88%, color-mix panels) that
+ stands alone; the frost is a texture, not the legibility layer.
+
+ Mirrors the blanket reduced-motion rule above; also mirrors what HUD mode
+ already does for its own reasons ([data-hud-shell] drops backdrop-filter
+ app-wide). */
+@media (prefers-reduced-transparency: reduce) {
+ *,
+ *::before,
+ *::after {
+ backdrop-filter: none !important;
+ -webkit-backdrop-filter: none !important;
+ }
+}
+
/* Pause continuous animations only when the window is hidden/minimized, not
merely unfocused. main.tsx owns this attribute for the primary window;
wake/pet overlays retain their purpose-built visibility behavior. */