[Bug]: Settings dialog vanishes for one frame while scrolling on macOS (captured in screen recording) #25552
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#
- On a MacBook Pro with the built-in ProMotion display, open T3 Code (Nightly) 0.1.3-nightly.20261026.3726.
- Open Settings → General.
- 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):
| Frame | Time | What is on screen |
|---|---|---|
| 832 | 17.948 s | Settings → General, bottom of the page |
| 833 | 18.298 s | Same scroll position (no screen updates for ~350 ms before this frame) |
| 834 | 18.322 s | Settings dialog and backdrop gone, main window undimmed |
| 835 | 18.345 s | Settings 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#
# Renderer process flags (from ps)
--num-raster-threads=4 --enable-zero-copy --enable-gpu-memory-buffer-compositor-resources --enable-main-frame-before-activation
--enable-features=PdfUseShowSaveFilePicker,ScreenCaptureKitPickerScreen,ScreenCaptureKitStreamPickerSonoma
--disable-features=DropInputEventsWhilePaintHolding,LocalNetworkAccessChecks,ScreenAIOCREnabled,SpareRendererForSitePerProcess,TimeoutHangingVideoCaptureStarts,TraceSiteInstanceGetProcessCreation
# ~/.t3/userdata/logs/renderer-history.ndjson for this app session
# events: created 1, dom-ready 1, sample 17; no crash, gone, or unresponsive events
# 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.
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')beforeapp.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 disablingCoreAnimationRenderer(removed only the whole-window blank frames) andAllowUndamagedNonrootRenderPassToSkip(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-featuresvalues, merge them into one switch, since a repeated switch replaces the earlier one.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 override Result All glass Flashes 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 blur Flashes 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-backdropand keeps the dim. It avoids the trigger rather than fixing what looks like a Chromium compositor bug. We haven't tried theVSyncAlignedPresentationForScrollingworkaround above, which would keep the blur if it holds up.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-gpubutton around afilter: blur()layer (ThemePreviewCircles.tsx), so the extra composited and filter layers may make the existingdialog-backdropblur 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 triagewith Claude Code (Claude Opus 5.5).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-backdropblur: the Usage chart tooltip usessurface-glass(backdrop-filter), and the Appearance theme circles aretransform-gpuwithhover:scale-105around afilter: 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 thedialog-backdropblur). The 60 Hz workaround from #23788 was not tested.Investigated via
t3 triagewith Claude Code (Claude Opus 5.5).tanstack-source added labelsbug
I’m seeing a similar one-frame flash in the T3 Code web app (
app.t3.codes) while scrolling the right-hand pane in Settings → Threads. It happens fairly often in normal use, but I haven’t found a reliable way to reproduce it on demand.- Browser — Google Chrome 157.0.8103.80
- OS — macOS 26.6.2 (25G83)
https://github.com/user-attachments/assets/086e361f-1e6d-419d-8a48-a79c07d3fa84
I see similar flicker while scrolling the chat transcript on a MacBook Pro (M4 Pro, built-in display, macOS 27.2.1) with T3 Code Desktop
0.1.12-nightly.20261121.5038and a local server. Usually only Thread details flashes. Sometimes the chat or the whole window flashes. It happens both during agent responses and while idle, and has persisted across nightly updates for several weeks.Changing Glass opacity from 80% to 100% did not help. Switching the built-in display to a fixed 60 Hz appears to stop the flicker. Triaged with Codex (
gpt-6.2-sol).Adding a fresh data point on 0.1.12-nightly.20261122.5085 (Electron 44.10.1, macOS 27.3 / 26C5047e), plus why
Glass opacity = 100%still didn't help for @klungg above:1. Settings modal flicker on external 120 Hz (confirms #29325)#
- Setup: Mac mini (Apple M2, 10-core GPU), external 4K 120 Hz monitor running HiDPI (
4608×2592, UI looks like2304×1296 @ 120 Hz),glassOpacity: 80. - Symptom: Scrolling Settings → Voice and several other scrollable Settings pages reliably causes the entire T3 Code window to flash while
WindowServer/ GPU compositor usage spikes. - Verification: Disabling
backdrop-filteron.dialog-backdrop(matching #29325) — along with removing.topbar-scroll-fade(mask-image) on[data-settings-page-scroll]and nested[data-app-modal] [data-slot="scroll-area-viewport"]masks via custom CSS — completely stopped the Settings flicker on 120 Hz. Strong +1 for merging #29325.
2. Why raising Glass opacity to 100% still flickers in the chat timeline#
In the bundled client, setting
glassOpacity === 100only sets--glass-blur: 0px, without settingbackdrop-filter: none. Because all glass surfaces (.surface-glass,.dialog-glass,.dropdown-glass, composer::before,[data-thread-details-card], etc.) usebackdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation)), they still evaluate toblur(0px) saturate(1.14)at 100% and keep Chromium/Skia allocating offscreen backdrop-filter compositor passes.Filed separately in #40809 so that 100% solid mode actually disables
backdrop-filtercleanly.- Setup: Mac mini (Apple M2, 10-core GPU), external 4K 120 Hz monitor running HiDPI (
Sign in to join this conversation.
https://github.com/user-attachments/assets/6ebf03f3-8d2a-4d60-85ec-d35d0bd1101c