In Wayland,
open Chromium,
go to https://mozilla.github.io/webrtc-landing/gum_test.html,
Screen Capture,
click the "Window" tab of the dialog,
choose any window in the pop-up window and click "Share", but don't click the other "Share" in the transient dialog inside Chromium.
Then, change your mind,
click the "Entire screen" tab,
choose any display in the pop-up window and click "Share".
Expected
--------
The display is shared immediately.
Observed
--------
This appears in the stderr:
--->
[E][02607.112169][module-protocol-: 609 lock_socket()] server 0x1fec07ecef80: unable to lock lockfile '/run/user/1000/snap.chromium/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
[E][02607.112301][ conf.c: 332 load_module()] config 0x1fec07fd8000: could not load mandatory module "libpipewire-module-protocol-native": Resource temporarily unavailable
[52486:52486:0524/082713.056397:ERROR:shared_screencast_stream.cc(426)] Failed to create PipeWire context
[52486:52486:0524/082713.056420:ERROR:base_capturer_pipewire.cc(81)] ScreenCastPortal failed: 1
<---
and the display takes a considerably long time — about 10 s — to be shared, which is unnacceptable on its own, but also this time is also sufficient to lead the user to think: "it doesn't and won't work, let me just cancel this."
In Wayland, /mozilla. github. io/webrtc- landing/ gum_test. html,
open Chromium,
go to https:/
Screen Capture,
click the "Window" tab of the dialog,
choose any window in the pop-up window and click "Share", but don't click the other "Share" in the transient dialog inside Chromium.
Then, change your mind,
click the "Entire screen" tab,
choose any display in the pop-up window and click "Share".
Expected
--------
The display is shared immediately.
Observed
--------
This appears in the stderr:
---> 112169] [module- protocol- : 609 lock_socket()] server 0x1fec07ecef80: unable to lock lockfile '/run/user/ 1000/snap. chromium/ pipewire- 0.lock' : Resource temporarily unavailable (maybe another daemon is running) module- protocol- native" : Resource temporarily unavailable 52486:0524/ 082713. 056397: ERROR:shared_ screencast_ stream. cc(426) ] Failed to create PipeWire context 52486:0524/ 082713. 056420: ERROR:base_ capturer_ pipewire. cc(81)] ScreenCastPortal failed: 1
[E][02607.
[E][02607.112301][ conf.c: 332 load_module()] config 0x1fec07fd8000: could not load mandatory module "libpipewire-
[52486:
[52486:
<---
and the display takes a considerably long time — about 10 s — to be shared, which is unnacceptable on its own, but also this time is also sufficient to lead the user to think: "it doesn't and won't work, let me just cancel this."