claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[Desktop] Mod Backdrop scenes are never drawn (ui.render Backdrop is called, tree not shown)

Open muscatboro opened this issue 2 weeks ago • 2 comments

Environment

  • Claude desktop 5.11492.5 (macOS, Code tab)
  • Claude Code engine 2.1.325

What happens A mod calls $.theme.set({ backdrop: { scene: 'aurora' } }) at session.start, and it returns isDrawn: true. The app then raises ui.render for Backdrop (surface=desktop scene=aurora, plugin matches the mod), and the mod's hook returns a valid tree. Nothing is drawn behind the conversation: the window stays the plain light or dark background.

Tried

  • An animated <Svg> (viewBox, preserveAspectRatio="xMidYMid slice", CSS animation), both as an image and with isInteractive
  • A plain <Box backgroundColor="#1a6b62" width="100%" height="100%">
  • glass: false with overrideColorScheme: 'dark'

None of them showed, and no "ui.render hook skipped" line appeared in the transcript.

Works Still grounds (backdrop: { gradient: ... }) are drawn correctly, so the backdrop layer itself works.

Expected The tree returned for Backdrop is drawn full-window behind the conversation, as the $.theme.set and Backdrop docs in the plugin types describe.

muscatboro avatar Nov 14 '26 12:11 muscatboro

Same symptom here on macOS (Claude Desktop 5.11492.5, Claude Code 2.1.325, Code tab): $.theme.set with a scene resolves isDrawn: true, ui.render for Backdrop fires on surface: desktop, the hook returns a valid tree, and nothing shows. An image ground didn't show either.

Cause on my machine matches the one found in #109853: System Settings → Accessibility → Display → Reduce transparency was on. With it on, the glass veil goes fully opaque and hides the backdrop; turning it off made the scene appear immediately.

It would help if reduced transparency kept the backdrop visible behind a solid panel instead of hiding it completely, or if $.theme.set reported that the backdrop is hidden.

WalkerSucksAtCode avatar Nov 14 '26 20:11 WalkerSucksAtCode

This looks like the same bug as #109853, which has repros on Windows and macOS and a likely cause traced in its comments. Linking so the reports stay in one place.

elliott7987-lab avatar Nov 19 '26 17:11 elliott7987-lab