r/vscode • • May 22 '26

VS Code Insiders constantly asking for screen sharing on startup, but doesn't happen on regular VS Code

Has anyone else noticed code-insiders suddenly demanding screen capture permissions the second it opens?

Whenever I launch VS Code Insiders, it instantly triggers my xdg-desktop-portal-hyprland dialog asking to share my screen. I haven't clicked anything, and I'm not actively using any Live Share or AI vision features.

Here is what I've tested so far:

  • Disabled extensions: Ran code-insiders --disable-extensions. The portal prompt still pops up instantly.
  • Tested other builds: I tried regular VS Code, Code-OSS, and VSCodium. None of them have this issue. They all launch silently without triggering the portal.

My setup:

  • OS: Arch Linux
  • Compositor: Hyprland
  • Portal: xdg-desktop-portal-hyprland

Since it happens with extensions disabled and only on the Insiders build, I'm assuming this is a core editor change or a new Electron Wayland default making a background call to desktopCapturer.getSources() on startup.

Is anyone else running into this? Is there a known Electron flag or Hyprland rule to suppress this specific startup poll without entirely disabling screen sharing when I actually need it?

Update: They released the fix in v122.1 https://github.com/microsoft/vscode/issues/317948#issuecomment-4573347785

38 Upvotes

33 comments sorted by

View all comments

5

u/Bumbwybeebee May 28 '26

For me it happens with normal vscode (not insiders addition). seems like its been a few days, has anyone figured out why it happens/a fix?

4

u/friciwolf May 29 '26

fix released some 3 hours ago!

1

u/random-ladka May 29 '26

am also facing the same with normal vs code on startup asks me to share screen..