Does this issue occur when all extensions are disabled?: Yes/No
Yes
- VS Code Version: Code - Insiders 1.122.0-insider (Electron 39.8.8)
- OS Version: Ubuntu 24.04.4 LTS, GNOME + Wayland, Linux 6.17.0-29-generic
Steps to Reproduce:
- Launch VS Code Insiders on Wayland (GNOME, Ubuntu 24.04)
- Wait for the main window to load — no further action needed
Expected: VS Code starts normally without any system dialogs.
Actual: The xdg-desktop-portal screen sharing dialog immediately appears: "Screen Sharing — org.chromium.Chromium wants to share your screen. Choose what to share."
Journal evidence:
code-insiders.desktop: ERROR:screencast_portal.cc:369 Failed to start the screen cast session.
code-insiders.desktop: ERROR:base_capturer_pipewire.cc:93 ScreenCastPortal failed: 2
xdg-desktop-por: Failed to associate portal window with parent window
xdg-desktop-portal-gnome.service: Main process exited, code=dumped, status=11/SEGV
Additional notes:
- Happens with --disable-extensions, empty profile (--user-data-dir /tmp/vscode-empty), and no MCP servers
- WEBRTC_PIPEWIRE_PORTAL_DISABLE=1 has no effect
- --ozone-platform-hint=x11 does not fix it either
- The GNOME portal implementation crashes with SEGV when handling the request
Does this issue occur when all extensions are disabled?: Yes/No
Yes
Steps to Reproduce:
Expected: VS Code starts normally without any system dialogs.
Actual: The xdg-desktop-portal screen sharing dialog immediately appears: "Screen Sharing — org.chromium.Chromium wants to share your screen. Choose what to share."
Journal evidence:
Additional notes: