https://bugs.kde.org/show_bug.cgi?id=475496
Bug ID: 475496 Summary: Attempting to screenshare via Discord causes the screenshare permission request menu to continuously open Classification: Applications Product: XWaylandVideoBridge Version: unspecified Platform: Archlinux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: plasma-b...@kde.org Reporter: k...@russell.mozmail.com CC: aleix...@kde.org, k...@davidedmundson.co.uk Target Milestone: --- SUMMARY I am attempting to use XWaylandVideoBridge to allow Discord's screensharing to work while running under Wayland. With XWaylandVideoBridge active and attempting to start a screen share session from Discord, the "Screen Sharing - Portal" permission window comes up and asks me which screen/window to share. Upon selecting one and confirming, the window re-opens a couple of seconds later, and continues to do so unless I either move the window out of the way and confirm / use the start option within Discord, or close the screen sharing menu in Discord all together. When moving the portal window out of the way and selecting the output that XWaylandVideoBridge creates (and I can see the selected window/screen within it), Discord doesn't actually appear to receive anything (the preview window gets stuck at Discord's "loading" indicator). STEPS TO REPRODUCE 1. Install XWaylandVideoBridge and launch it 2. Connect to a voice channel within Discord or join a call 3. Attempt to start a screen share session OBSERVED RESULT The Screen Share Portal window continuously re-opens, and the screen/application doesn't seem to make it to Discord. EXPECTED RESULT A screen sharing session should properly activate SOFTWARE/OS VERSIONS Linux: EndeavourOS/Arch Linux (available in About System) KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.110.0 Qt Version: 5.15.11 ADDITIONAL INFORMATION In Discord's logs, I can see the following: ``` [3722:1011/233507.362206:ERROR:base_capturer_pipewire.cc(81)] ScreenCastPortal failed: 2 Error occurred in handler for 'DISCORD_DESKTOP_CAPTURER_GET_SOURCES': Failed to get sources. [3722:1011/233514.310047:ERROR:screencast_portal.cc(367)] Failed to start the screen cast session. [3722:1011/233514.310059:ERROR:base_capturer_pipewire.cc(81)] ScreenCastPortal failed: 2 Error occurred in handler for 'DISCORD_DESKTOP_CAPTURER_GET_SOURCES': Failed to get sources. Error occurred in handler for 'DISCORD_DESKTOP_CAPTURER_GET_SOURCES': Failed to get sources. Error occurred in handler for 'DISCORD_DESKTOP_CAPTURER_GET_SOURCES': Failed to get sources. ``` -- You are receiving this mail because: You are watching all bug changes.