Can no longer share individual application windows in browsers

Until sometime early December I was able to share individual application windows as well as my entire screen. Then I did not need that feature for some weeks during which there were a few updates and I briefly tried out kwinft. But I went back to kwin since I suspected kwinft to be the cause for external monitors when plugged in to not be configured correctly. After reverting to kwin external monitors are always correctly configured, but I still have the issue that e.g. in Teams I can only share the entire screen and not individual application windows.

Grateful for any suggestion you might have,

Marko

Might be Wayland instead of X11. Choose X11 in the login screen and try again.

Hey, I’m so old-school I didn’t even mention that this WAS on X11…

I can’t remember if Teams was ever able to share individual windows. Are you 100% certain?

Does this happen for all other applications as well? E.g. test with Zoom.

It definitely was working even on Teams and it happens everywhere even on the gUM test page.

What is a gUM test page?

https://mozilla.github.io/webrtc-landing/gum_test.html

Also, I tested OBS and while it “sees” the windows when I select one the area where it’s supposed to appear remains black.

Can you put your system information here?

System:
  Kernel: 6.1.11-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-6.1-x86_64
    root=UUID=6a38713f-0758-475c-ada0-ea6c19afebed rw rootflags=subvol=@ quiet
    efi=runtime
  Desktop: KDE Plasma v: 5.26.5 tk: Qt v: 5.15.8 info: latte-dock
    wm: kwin_x11 vt: 1 dm: 1: LightDM v: 1.32.0 note: stopped 2: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 21BVCTO1WW v: ThinkPad T16 Gen 1
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 21BVCTO1WW v: SDK0T76463 WIN
    serial: <superuser required> UEFI: LENOVO v: N3MET09W (1.06 )
    date: 10/11/2022
Battery:
  ID-1: BAT0 charge: 84.9 Wh (97.7%) condition: 86.9/86.0 Wh (101.0%)
    volts: 17.4 min: 15.5 model: Sunwoda 5B10W51873 type: Li-poly
    serial: <filter> status: not charging cycles: 18
Memory:
  RAM: total: 46.73 GiB used: 9.66 GiB (20.7%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: 12th Gen Intel Core i5-1245U bits: 64 type: MST AMCP
    arch: Alder Lake level: v3 note: check built: 2021+
    process: Intel 7 (10nm ESF) family: 6 model-id: 0x9A (154) stepping: 4
    microcode: 0x424
  Topology: cpus: 1x cores: 10 mt: 2 tpc: 2 st: 8 threads: 12 smt: enabled
    cache: L1: 928 KiB desc: d-8x32 KiB, 2x48 KiB; i-2x32 KiB, 8x64 KiB
    L2: 6.5 MiB desc: 2x1.2 MiB, 2x2 MiB L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 1811 high: 2500 min/max: 400/4400:3300 scaling:
    driver: intel_pstate governor: powersave cores: 1: 1304 2: 1349 3: 2500
    4: 1139 5: 2251 6: 1744 7: 2150 8: 2500 9: 2500 10: 861 11: 2500 12: 935
    bogomips: 59916
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_lbr arch_perfmon art avx avx2 avx_vnni bmi1 bmi2
    bts clflush clflushopt clwb cmov constant_tsc cpuid cpuid_fault cx16 cx8
    de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est f16c flexpriority
    flush_l1d fma fpu fsgsbase fsrm fxsr gfni hfi ht hwp hwp_act_window
    hwp_epp hwp_notify hwp_pkg_req ibpb ibrs ibrs_enhanced ibt ida intel_pt
    invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor movbe
    movdir64b movdiri msr mtrr nonstop_tsc nopl nx ospke pae pat pbe pcid
    pclmulqdq pconfig pdcm pdpe1gb pebs pge pku pln pni popcnt pse pse36 pts
    rdpid rdrand rdseed rdtscp rep_good sdbg sep serialize sha_ni smap smep
    smx split_lock_detect ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall
    tm tm2 tme tpr_shadow tsc tsc_adjust tsc_deadline_timer tsc_known_freq
    umip vaes vme vmx vnmi vpclmulqdq vpid waitpkg x2apic xgetbv1 xsave xsavec
    xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Alder Lake-UP3 GT2 [Iris Xe Graphics] vendor: Lenovo
    driver: i915 v: kernel arch: Gen-12.2 process: Intel 10nm built: 2021-22+
    ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, HDMI-A-1
    bus-ID: 00:02.0 chip-ID: 8086:46a8 class-ID: 0300
  Device-2: Chicony Integrated Camera type: USB driver: uvcvideo
    bus-ID: 3-4:3 chip-ID: 04f2:b74f class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 21.1.7 with: Xwayland v: 22.1.7
    compositor: kwin_x11 driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1200 s-dpi: 96 s-size: 507x317mm (19.96x12.48")
    s-diag: 598mm (23.54")
  Monitor-1: eDP-1 model: BOE Display 0x0a30 built: 2021 res: 1920x1200
    hz: 60 dpi: 141 gamma: 1.2 size: 345x215mm (13.58x8.46") diag: 407mm (16")
    ratio: 16:10 modes: 1920x1200
  API: OpenGL v: 4.6 Mesa 22.3.5 renderer: Mesa Intel Graphics (ADL GT2)
    direct-render: Yes
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Lenovo
    driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 00:1f.3
    chip-ID: 8086:51c8 class-ID: 0403
  Sound API: ALSA v: k6.1.11-1-MANJARO running: yes
  Sound Interface: sndio v: N/A running: no
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.65 running: yes
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:51f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Intel Ethernet I219-LM vendor: Lenovo driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:1a1e class-ID: 0200
  IF: enp0s31f6 state: down mac: <filter>
  IF-ID-1: br-8e0e69574768 state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  IF-ID-2: docker0 state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 3-10:11
    chip-ID: 8087:0033 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 3 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 953.87 GiB used: 828.69 GiB (86.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: WD PC
    SN810 SDCQNRY-1T00-1001 size: 953.87 GiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 61540101 temp: 44.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 953.58 GiB size: 953.58 GiB (100.00%)
    used: 828.69 GiB (86.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: 6a38713f-0758-475c-ada0-ea6c19afebed
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 312 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
    uuid: D2BC-ACDD
  ID-3: /home raw-size: 953.58 GiB size: 953.58 GiB (100.00%)
    used: 828.69 GiB (86.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: 6a38713f-0758-475c-ada0-ea6c19afebed
  ID-4: /home/<filter>/myStuff raw-size: 953.58 GiB
    size: 953.58 GiB (100.00%) used: 828.69 GiB (86.9%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2 label: N/A
    uuid: 6a38713f-0758-475c-ada0-ea6c19afebed
  ID-5: /mnt/forBackup raw-size: 953.58 GiB size: 953.58 GiB (100.00%)
    used: 828.69 GiB (86.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: 6a38713f-0758-475c-ada0-ea6c19afebed
  ID-6: /swap raw-size: 953.58 GiB size: 953.58 GiB (100.00%)
    used: 828.69 GiB (86.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: 6a38713f-0758-475c-ada0-ea6c19afebed
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 80 GiB used: 0 KiB (0.0%) priority: -2
    file: /swap/swapfile
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 2-0:1 info: Super-speed hub ports: 3 rev: 3.1 speed: 20 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-3:2 info: Shenzhen Goodix USB2.0 MISC type: <vendor specific>
    driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 27c6:6594 class-ID: ef00 serial: <filter>
  Device-2: 3-4:3 info: Chicony Integrated Camera type: Video
    driver: uvcvideo interfaces: 5 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 04f2:b74f class-ID: fe01 serial: <filter>
  Hub-4: 3-7:12 info: Realtek RTS5411 Hub ports: 4 rev: 2.1 speed: 480 Mb/s
    chip-ID: 0bda:5411 class-ID: 0900
  Device-1: 3-7.3:13 info: Hoksi DURGOD Taurus K310 Nebula type: Keyboard,HID
    driver: hid-generic,usbhid interfaces: 4 rev: 2.0 speed: 12 Mb/s power: 500mA
    chip-ID: 2f68:0041 class-ID: 0300
  Device-2: 3-7.4:14 info: Noll LLC EcoSteno
    type: Keyboard,HID,Abstract (modem),CDC-Data
    driver: cdc_acm,hid-generic,usbhid interfaces: 5 rev: 2.0 speed: 12 Mb/s
    power: 500mA chip-ID: feed:3621 class-ID: 0a00
  Device-3: 3-8:5 info: Alcor Micro AU9540 Smartcard Reader type: Smart Card
    driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 50mA
    chip-ID: 058f:9540 class-ID: 0b00
  Device-4: 3-10:11 info: Intel type: Bluetooth driver: btusb interfaces: 2
    rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0033 class-ID: e001
  Hub-5: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-6: 4-2:2 info: Realtek Hub ports: 4 rev: 3.1 speed: 5 Gb/s
    chip-ID: 0bda:0411 class-ID: 0900
Sensors:
  System Temperatures: cpu: 46.0 C mobo: N/A
  Fan Speeds (RPM): fan-1: 0
Info:
  Processes: 391 Uptime: 1d 2h 10m wakeups: 17200 Init: systemd v: 252
  default: graphical tool: systemctl Compilers: gcc: 12.2.1 alt: 6
  clang: 15.0.7 Packages: 3611 pm: nix-default pkgs: 0 pm: nix-sys pkgs: 0
  pm: nix-usr pkgs: 157 libs: 27 pm: pacman pkgs: 3454 libs: 625
  tools: octopi,pacaur,pamac,yay Shell: Zsh v: 5.9 running-in: yakuake
  inxi: 3.3.25

I did play with some systemctl status commands and here is a message that caught my attention:

Feb 13 09:32:17 allofthis xdg-desktop-portal-kde[1513]: xdp-kde-settings: Namespace "org.gnome.desktop.a11y.interface" is not supported

Also, I noticed that my original statement was not entirely correct: in Chrome as well as in Firefox I can share one window and that is the window of the browser itself. So, when on gUM Test Page with Chrome I can share the entire screen or I can share any of the Chrome windows and when in Firefox I can share the screen or any of the Firefox windows. But none of the other windows show up.

Could this be a pipewire permissions issue? Where would I look to investigate whether or not it is?

Today, by chance I had another window open ON THE SAME virtual desktop an which the browser was running when I started sharing. To my surprise that window was available for sharing in the selector. Other windows remain unavailable there.