Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: macOS desktop keeps drawing (~150 ms GPU/s, WindowServer ~250 ms/s) while its window is fully covered #43257

Openkristianbonnici(GitHub profile, opens in a new tab) opened this issue 1 comment

Summary

On macOS, the desktop app's GPU process keeps drawing at about the same rate whether its window is on screen or completely covered by another app's opaque, full-screen window. While it draws, WindowServer stays busy too. Agent threads were running, so the sidebar's working spinners were animating. It looks as if a covered window isn't treated as hidden or occluded, so its animations keep going at the display's rate.

Possibly related: #14730 (hidden preview guests rendering while T3 is visible). That report notes that hiding the app stops the load. Here the window wasn't hidden, only covered.

Measured

GPU time per process comes from ioreg -r -c IOAccelerator -l (each client's accumulatedGPUTime, sampled over 6 s). WindowServer's CPU comes from ps. The cover was an opaque borderless window over the whole screen, above every normal window. Nothing in the cover moved.

T3 Code (Nightly) Helper GPUWindowServer GPU
T3 window on screen150 ms/s336 ms/s
T3 window fully covered158–166 ms/s248–258 ms/s

With T3 covered, WindowServer measured the same ~250 ms/s whether the cover showed a still picture or a moving one. The day before, the same kind of cover brought WindowServer down to about 3 ms/s. So the ~250 ms/s here is what keeps drawing underneath it, and T3's GPU process is the only one drawing anything worth counting (the next highest was under 8 ms/s).

Environment

  • T3 Code (Nightly) 0.1.13-nightly.20261125.5258
  • macOS 27.2.1 (26B131), Apple silicon (M5 Pro), built-in 120 Hz display

Expected

A fully covered window should stop drawing, or slow to a crawl, as Chromium does for occluded windows, as long as nothing needs it (agents keep running in the background either way).

  1. tanstack-source added labelsbug

  2. @kristianbonnici When the covered window kept drawing, did you have a preview browser tab open in T3 that was in picture-in-picture, being recorded, or being captured by an agent? Those are the only cases where the app keeps the main window unthrottled, and on our Mac (macOS 26.6.2) a covered window otherwise stops drawing completely. Also: does it still happen after you quit and relaunch the app?

  3. juliusmarminge added labelsneeds more info

Sign in to join this conversation.