Wayland - cannot select windows in screenshare/recording

Hi there, I am trying to do a screen share and select a Window in two apps. (zoom - web client and a browser-based screen recorder). For some reason, When I try to select a specific window, it shows only my entire screen (see screenshot). I can share my entire desktop or even Chromium tabs without issue. I am running Sway as per the wiki (not home manager). I have tried using alternate Chromium-based browsers (I need it), such as regular Chrome, vivaldi, edge, etc without luck.

I have items like xdg portals setup (as per the wiki).

 xdg.portal = {
    enable = true;
    wlr.enable = true;
    # gtk portal needed to make gtk apps happy
    extraPortals = [ pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-wlr ];
  };

Pipewire setup:

services.pipewire = {
    enable = true;
    alsa.enable = true;
    pulse.enable = true;
  };

Has anyone run into something like this? Generally, screen sharing is working great otherwise.

System info:

λ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.56, NixOS, 23.11 (Tapir), 23.11.20231009.f99e5f0`
 - multi-user?: `yes`
 - sandbox: `relaxed`
 - version: `nix-env (Nix) 2.17.0`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Thank you.

As far as I am aware, wlr doesn’t support sharing single windows. I just move the window I want to share onto a fresh tab.

yeah, I tried it in hyprland, and it does work there. I think you are right.