Repository navigation
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
- Open T3 Code Desktop on macOS and open any thread.
- Open the right panel and select the Browser tab.
- Do not type a URL and do not pick a local server. Leave the tab on its initial page. The address bar still shows the "Search or enter URL" placeholder.
- Close the right panel without navigating anywhere.
- Look at the bottom right corner of the window.
- Hover the small circle at the top right of the panel that appears, then click the "Pop into separate window" control.
Expected behavior
Closing the right panel should just close it when the Browser tab has never been navigated.
No floating preview should appear for an empty tab. The picture-in-picture return on panel close makes sense for a page the user was viewing. It does not help for about:blank, because there is nothing to keep watching and nothing to navigate with once the panel is gone.
If a preview does appear, it should show what it is and give the user a way to navigate or dismiss it without guessing. Its background should also match between the in-window panel and the popped-out window under the same theme.
Actual behavior
Step 5 leaves a floating preview in the bottom right corner of the window. It is a blank white rectangle with rounded corners. It has no title, no URL bar, and no text that says what it is. The only mark is a small circle at the top right. Hovering reveals controls, including "Pop into separate window".
Step 6 opens a separate native window titled "Preview - about:blank". That window is a blank black rectangle. It also has no URL bar and no way to navigate.
So the same empty tab renders white inside the main window and black in the popped-out window, even though the app theme is set to System and macOS is in dark mode. One of the two surfaces is picking up a different default background for about:blank.
This looks related to the closed report in #7212, where a failed navigation also left a blank white floating panel. The trigger here is different. No navigation was attempted and no navigation failed. The user only selected the Browser tab and then closed the panel.
Impact
Minor bug or occasional failure
The blank panel covers part of the window and gives the user no clue what opened it or how to use it. The fix can be narrow. Do not return an empty or never-navigated Browser tab to picture-in-picture when the right panel closes.
Version or commit
T3 Code Nightly 0.1.12-nightly.20261123.5151 (856b105), fully updated
Environment
macOS on Apple Silicon, T3 Code Desktop Nightly, theme set to System with dark mode active
Logs or stack traces
No error or stack trace. The popped-out window title reads "Preview - about:blank", which confirms the tab never navigated.
Screenshots, recordings, or supporting files
Browser tab in the right panel before closing. The address bar shows "Search or enter URL" and the page lists "Local servers" with adb at localhost:5037.
Floating preview after closing the right panel. A blank white rectangle with a small circle at the top right and no other chrome.
Hover state on that rectangle. A tooltip reads "Pop into separate window" above three small controls.
Popped-out window. The title bar reads "Preview - about:blank" and the content area is solid black.
Workaround
Close the floating preview with its hover controls. Do not select the Browser tab if you do not plan to navigate.
Activity
2SinceJuly commentedon Nov 23, 2026
Reproduced from the source:
closePanelinapps/web/src/components/chat/useRightPanelActions.tsfloats the active preview tab unconditionally, and a never-navigated tab reports anIdlenav status (it is still onabout:blank), so the floating preview has nothing to render. Opening a PR that floats the tab only once it has a page.