[Bug]: Right-sidebar tab X needs repeated clicks in macOS native fullscreen
(note: Codex created on behalf of emilvakhitov)
Right-sidebar tabs need several clicks on their X button to close in macOS native fullscreen.
Before submitting
- [x] I searched existing issues and did not find a duplicate.
- [x] I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
User-reported steps; not independently reproduced by the agent filing this report:
- Open T3 Code desktop on macOS and open a tab in the right sidebar.
- Put the application window into macOS native fullscreen.
- Click the tab's X close button. A single click does not reliably close the tab; several mouse clicks are needed before it eventually closes.
- Exit native fullscreen and try closing a right-sidebar tab again. The user reports that the X button works normally outside fullscreen.
The exact tab type, number of clicks, and reproduction frequency have not been recorded.
Expected behavior
One click on a right-sidebar tab's X button closes the tab reliably, both in native fullscreen and outside fullscreen.
Actual behavior
In native fullscreen, the X button initially appears to do nothing. The user clarified that tabs can eventually close, but only after several mouse clicks. Outside fullscreen, clicking X works normally.
The user updated to 0.0.46-nightly.20261013.3066 and confirmed that the bug persists. No root cause has been established.
Impact
Minor bug or occasional failure
Closing right-sidebar tabs is unreliable while using native fullscreen; exiting fullscreen provides a workaround.
Version or commit
0.0.46-nightly.20261013.3066 — user confirms the bug persists after updating to this version. The running local T3 Code (Nightly) application's metadata also reports this version.
Environment
macOS desktop application, using macOS native window fullscreen.
Read-only inspection of the local reporting machine with sw_vers reports macOS 26.6.2, build 25G83. The user has not separately confirmed the OS version used for the observation.
Logs or stack traces
No relevant logs or stack traces captured.
Screenshots, recordings, or supporting files
No screenshot or recording supplied. This report records the user's observation, not an independent reproduction.
Workaround
Exit macOS native fullscreen, then click the tab's X button. The user reports that closing works normally outside fullscreen.
Related reports checked
- #18545 concerns an unavailable MCP viewport and a fullscreen reconnect loop on Windows/iOS, rather than unreliable tab closing in macOS native fullscreen.
- #16059 concerns the HTML Fullscreen API being denied inside the built-in browser, rather than tab closing after entering macOS native fullscreen.
- #12036 concerns a left-sidebar toggle overlapping macOS window controls after zooming.
- #7727 concerns the panel collapsing after its last tab closes, rather than clicks failing to close a tab.
- #15939 concerns Linux middle-click closing also pasting text, rather than the X button in macOS fullscreen.
[!NOTE] Grok responding on behalf of Julius.
This needs more detail before we can act on it, because the code doesn't show a T3 Code cause.
On main, the tab strip in RightPanelTabs.tsx is a drag-region only when it owns the desktop titlebar, and each tab gets [-webkit-app-region:no-drag]. index.css also sets every button inside a drag region to no-drag. So the X button shouldn't be inside a drag rectangle, in fullscreen or out of it.
A more likely cause is macOS itself. In native fullscreen, moving the pointer to the top edge of the screen slides down the menu bar and titlebar on top of the window, and that overlay can swallow clicks on anything near the top, including the tab strip.
Please send:
- A screen recording of the failed clicks, with the pointer visible.
- Whether it still happens with the right panel maximized or undocked, or with the window tiled to fill the screen instead of in native fullscreen.
- Which tab type it is (file, diff, browser, terminal).
Until then, exiting fullscreen should work around it. Setting the macOS menu bar to stay visible in full screen (in System Settings; the exact location varies by macOS version) may help too.
https://github.com/user-attachments/assets/ef96c685-f1f5-4f98-8ac4-d5411da62f78
The video answers the questions
@juliusmarminge the screen recording is above
I can confirm the same behavior in macOS native fullscreen. Closing a tab in the right-side panel requires repeated clicks on its × button.
In my screen recording from October 16, the affected tab is Browser, with a file tab and a Diff tab also open. The pointer is over the Browser tab's × button, but repeated clicks initially leave the tab open; it eventually closes and the Diff tab becomes active. A single click should close the tab reliably.
Environment on the reporting machine:
- macOS 26.6.2 (25G83), Apple Silicon.
- Running T3 Code server version:
0.1.1-nightly.20261016.3218. - Native fullscreen confirmed. Behavior with the panel maximized/undocked or outside native fullscreen works as intended.
This confirmation is based on my observation and recording; no root cause has been established.
https://github.com/user-attachments/assets/dfdcea1d-1451-45ab-953a-d2fa0d804d0d
Triage on current main 70e5e384da: this runner is Linux x86_64, so it cannot execute the reported macOS native-fullscreen steps. No independent reproduction or fix is claimed. The comments already supply recordings, a Browser-tab example, and working comparisons outside native fullscreen and with the panel maximized/undocked. This needs a native macOS desktop verification pass; browser fullscreen on Linux would not verify it. No duplicate found in the open-issue scan; the repeated-click thread-switching report concerns a different interaction. Leaving this issue open.
Retested on T3 Code (Beta) 0.1.11 (Electron 44.10.1, macOS 27.2 build 26B123, arm64) in macOS native fullscreen on the built-in Mac display (no external monitor):
- Could not reproduce: opening several right-panel tabs and clicking their
×button closed each tab reliably on the first click.
(Aligns with the secondary-display trigger noted in #25965 / electron/electron#55100, or may no longer reproduce on macOS 27.2 / built-in display.)
I can still reproduce this on 0.1.13. Interestingly only when full screen on an external monitor, the built-in mac display did not reproduce this for me.