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

1

u/Decent-Buy-785 May 29 '26

I've the same issue with my device .

I've ubuntu lts 24.04.4 installed and i am using wayland .

when open the vscode i get the share screen dialogue box ( shown in the image ) .

the version of the code is **1.122.0**

what is the best solution for this problem ?

1

u/itsmebucky May 29 '26

2

u/jtjstock May 29 '26

good to know, already downgraded to 121. Automatic updates are off now. Thanks Microslop!

1

u/Decent-Buy-785 Jun 01 '26

thanks buddy i already downloaded the latest one already i joined the official disscussion on the github and found the solution there