[Bug]: Settings dialog vanishes for one frame while scrolling on macOS (captured in screen recording)#25552

opened21d agobyAAntonLT

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Possibly related: #23788 (dialog flicker on macOS while scrolling). That issue says the flicker never shows up in screen recordings, and the follow-up comment there describes only the backdrop-filter layers dropping out while the text stays drawn. Here, macOS screen recording did capture it, and the whole Settings dialog disappeared for the frame, text included. Filing separately so the recording is on record; feel free to merge.

Area

apps/desktop

Steps to reproduce

  1. On a MacBook Pro with the built-in ProMotion display, open T3 Code (Nightly) 0.1.3-nightly.20261026.3726.
  2. Open Settings → General.
  3. Scroll the page with the trackpad to the bottom (Legacy features), pause briefly, then scroll back up.

During the recording I also switched between General, Appearance, Connections and Storage and scrolled each. The flash happened once in about 30 seconds of scrolling, so it is intermittent.

Expected behavior

The Settings dialog stays on screen while its content scrolls.

Actual behavior

For one frame the whole Settings dialog vanishes: the glass panel, all of its text, and the dimmed backdrop. The main window behind it (New thread screen with the thread sidebar) is drawn at full brightness. On the next frame the dialog is back at the expected scroll position.

Frame timing from the recording (macOS screen recording, 3024×1964, variable frame rate, 1316 frames over 30.8 s):

FrameTimeWhat is on screen
83217.948 sSettings → General, bottom of the page
83318.298 sSame scroll position (no screen updates for ~350 ms before this frame)
83418.322 sSettings dialog and backdrop gone, main window undimmed
83518.345 sSettings back, scrolled up from frame 833

The flash landed on the first frame of a new upward scroll after a short pause at the bottom of the page, and lasted one frame (~23 ms). I found it by diffing every frame against its neighbors. No other frame in the clip shows the window without the dialog. The dimmed frames at the very end are the macOS screenshot toolbar stopping the recording.

Impact

Cosmetic issue

Version or commit

0.1.3-nightly.20261026.3726 (Electron 44.9.3, Chromium 152.0.7977.167)

Environment

  • macOS 27.0 (26A428)
  • MacBook Pro, Apple M4 Pro (20-core GPU, Metal 4), 24 GB RAM
  • Built-in Liquid Retina XDR display only: 3024×1964, "looks like" 1512×982 at 2x, ProMotion up to 120 Hz. No external monitors.
  • On battery, macOS Energy Mode: High Power
  • macOS appearance: Dark. T3 Code color scheme: System, theme: T3 Code, Contrast: 200% (non-default), Glass opacity: 80%
  • One agent thread was running in the background during the recording

Logs or stack traces

shell
1# Renderer process flags (from ps)
2--num-raster-threads=4 --enable-zero-copy --enable-gpu-memory-buffer-compositor-resources --enable-main-frame-before-activation
3--enable-features=PdfUseShowSaveFilePicker,ScreenCaptureKitPickerScreen,ScreenCaptureKitStreamPickerSonoma
4--disable-features=DropInputEventsWhilePaintHolding,LocalNetworkAccessChecks,ScreenAIOCREnabled,SpareRendererForSitePerProcess,TimeoutHangingVideoCaptureStarts,TraceSiteInstanceGetProcessCreation
5
6# ~/.t3/userdata/logs/renderer-history.ndjson for this app session
7# events: created 1, dom-ready 1, sample 17; no crash, gone, or unresponsive events
8# renderer working set 315-411 MB, peak 490 MB

Screenshots, recordings, or supporting files

I'll add the screen recording (flash at 0:18) and a strip of frames 833 / 834 / 835 in a comment below.

Workaround

None found.

Synced from GitHub

We hit what looks like the same bug in our Electron 44.4.3 app on macOS 27.0.1: the blurred Settings dialog and its dimmed backdrop (plus a blurred toolbar and side panel) vanish for one frame on the first frame of a scroll after a pause.

In case it helps: on macOS, launching with --disable-features=VSyncAlignedPresentationForScrolling (app.commandLine.appendSwitch('disable-features', 'VSyncAlignedPresentationForScrolling') before app.whenReady()) stopped it for us — 11 flashes in 158 scrolls without it vs 0 in ~126 with it, measured from 60 fps screen recordings. We also tried disabling CoreAnimationRenderer (removed only the whole-window blank frames) and AllowUndamagedNonrootRenderPassToSkip (no change).

Note this is a workaround rather than a fix: the feature flag may be removed in a future Chromium. If you already pass other --disable-features values, merge them into one switch, since a repeated switch replaces the earlier one.

Synced from GitHub

Note

🤖 Written by Claude Opus 5.5 on behalf of Illia

We reproduced this on T3 Code Nightly 0.1.6 (Electron 44.10.0, Chromium 152) on macOS with an external 120 Hz display, about 2 flashes per 30 seconds of trackpad scrolling in Settings. In our recording, the dialog, the dim and the Thread details card all vanished for a frame, including text, while the composer stayed drawn.

Turning off only the blur on the dialog backdrop appeared to stop it, and popup and composer glass could stay on. These are manual runs, not a measured rate:

Glass removed via runtime overrideResult
All glassFlashes stopped
Everything outside #rootFlashes stopped
Everything in #root, alwaysNo flashes in about 30 s, too short to be conclusive
Everything in #root, only while a dialog is openStill flashes
Only the dialog backdrop blurFlashes appeared to stop

Scripted wheel scrolling never reproduced it, only real trackpad gestures did, which fits the note above about the first frame of a scroll after a pause.

Draft fix: #29325 removes the blur from dialog-backdrop and keeps the dim. It avoids the trigger rather than fixing what looks like a Chromium compositor bug. We haven't tried the VSyncAlignedPresentationForScrolling workaround above, which would keep the blur if it holds up.

Synced from GitHub

Another data point from T3 Code Desktop 0.1.7-nightly.20261102.4066 (Electron 44.10.0) on macOS 27.0, Apple M4, with an external 120 Hz display (4K panel, 2048×1152 HiDPI @ 120 Hz) as the main display. The whole Settings panel blinks for a moment while scrolling Settings → Appearance. It's rare and I couldn't trigger it again on demand. I've only noticed it on Appearance, not other settings pages. Appearance also renders the theme library's preview circles, each a transform-gpu button around a filter: blur() layer (ThemePreviewCircles.tsx), so the extra composited and filter layers may make the existing dialog-backdrop blur trigger more likely there. That's a guess and I haven't tested it. #29325 is still open and not in this build.

Investigated via t3 triage with Claude Code (Claude Opus 5.5).

Synced from GitHub

Another data point, with hover as the trigger instead of scroll, confirmed by turning off the backdrop blur.

Environment

  • T3 Code (Nightly) desktop 0.1.8-nightly.20261105.4234 (commit 8b570d2), Electron 44.10.1
  • macOS 26.5.1 (25F80), Apple M5 Max
  • Built-in Liquid Retina XDR display only (ProMotion), window maximized
  • Glass opacity 40%, Contrast 130%, panel animation duration 0

What happens With the Usage modal open, hovering the line graph or the period/metric tabs causes a one-frame flash every few seconds. For that frame the colors inside the modal and outside it (the dimmed backdrop) look swapped, and text goes brighter, then darker. It looks like the modal is briefly drawn as unfocused. The reporter also sees it on Settings → Appearance while hovering the theme circles (not separately tested with the blur off).

Both hover targets add a new composited/filter layer above the full-window dialog-backdrop blur: the Usage chart tooltip uses surface-glass (backdrop-filter), and the Appearance theme circles are transform-gpu with hover:scale-105 around a filter: blur() layer.

Isolation With Usage open, in DevTools: document.querySelectorAll('[data-slot="dialog-backdrop"]').forEach((el) => { el.style.setProperty("backdrop-filter", "none"); el.style.setProperty("-webkit-backdrop-filter", "none"); }); After closing DevTools, hovering the graph and tabs no longer flickers. This supports #29325 (remove the dialog-backdrop blur). The 60 Hz workaround from #23788 was not tested.

Investigated via t3 triage with Claude Code (Claude Opus 5.5).