Before submitting#
Area#
apps/desktop
Steps to reproduce#
- In the desktop app on macOS, have an agent
html_render a page with <button onclick="document.documentElement.requestFullscreen()">full</button>.
- Click the button.
Expected behavior#
As before #25835: the page fills the T3 window (the window has disableHtmlFullscreenWindowResize: true).
Actual behavior#
The window goes into macOS native fullscreen in a new Space. Leaving it animates back; it feels like a glitch.
Impact#
Major degradation or frequent failure
Version or commit#
0.1.9-nightly.20261110.4452 (since #25835, c5b869f29e)
Environment#
macOS, T3 Code desktop (Nightly)
Logs or stack traces#
Cause:
Fix options, either works:
- keep iframe fullscreen inside the window as `<webview>` guests are: also skip `element.tagName === "IFRAME"` in the preload check;
- or a page message (like `t3/notifications/open-image`) that opens the page in the expand dialog.
Screenshots, recordings, or supporting files#
No response
Workaround#
The page skips requestFullscreen when the user agent has Electron/ and shows a larger inline view instead.