WebCord: Screen Sharing broken 4.7.0
Acknowledgements
-
I have checked that there is no other issue describing the same or similar problem that I currently have, regardless if it has been closed or open.
-
This bug affects Discord website.
-
This issue is confirmed to be reproducible when WebCord is packaged on at least all three latest supported Electron major releases.
-
This issue is reproducible in Chrome, Chromium or any Chromium-based browser, e.g Brave or Edge (please write in Additional Context which browser you have used if it is neither Chrome nor unmodified Chromium).
-
There are no fixes done to
masterwhich resolves this issue. -
My issue describes one of the unstable and/or not fully implemented features.
-
I have found a workaround to mitigate or temporarily fix this issue in affected releases (please write it in Additional context section below).
Operating System / Platform
đ§ď¸ Linux
Operating system architecture
x64 (64-bit Intel/AMD)
Electron version
28.2.0
Application version
v4.7.0
Bug description
Screen Sharing not working after upgrade to v4.7.0. I roll back to 4.6.1 and it works fine.
Additional context
No response
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 11
- Comments: 34 (11 by maintainers)
Ok, I can confirm the issue is upstream with electron.
On archlinux using sway I have built webcord from latest source, then I switched to electron 30 specifically(electron30 30.5.1-3) is the version i am currently using.
Since switching to this, my webcord allows screenshare again.
If you are using archlinux, there is a very easy fix.
Download electron30 from aur
then edit /usr/bin/webcord change text from âelectron33â to âelectron30â Now your screen share should work
I am on Arch Linux, Hyprland; starting in a terminal it outputs
when sharing using xdg-desktop-portal-hyprland
and
when sharing using xdg-desktop-portal-wlr.
In the webcord gui itself nothing happens.
My experience, without logs unfortunately, Webcord 4.7.0 on Arch Linux with i3 (nvidia proprietary drivers):
Downgrading to 4.6.1 solved the issue on both machines.
Resurfaced with version 4.10.3, but now crashes the client. I am running on Fedora 41 Sericea and tested with both RPM, AppImage and Flatpak.
Downgrading to 4.10.2 for now as that version does not have the issue.
As of 4.8.0 screen sharing is working properly for me. Thanks for your work on webcord!
Same here. Mine crashes with âxargs: zypak-wrapper: terminated by signal 11â
Friendly reminder to restart your hyprland session, for those who manage to fix the problem this way.
Also, the official electron30 package worked for me.
Ah, sorry if it did felt that way. I wanted to be slightly sarcastic in response your comment felt that way as well (+ people suprisingly compare WebCord with Vesktop, although some stuff differs in philosophies for both of them). Hope at least my points in braces were helpful tho (I really meant to give some response but was too lazy/busy to write whole analysis).
+ Kinda want to blame someone for duplicates happening, not sure who (community, GitHub for terrible hierarchization and linkage or myself for not coming with decent functional sollution to this day).
As for me, in a Plasma Wayland session under XWayland, this works well, but leads to various issues when using âozoneâ.
For example, starting screenshare from KDE Screen Share portal works well, but If I close Portal window without starting screensharing it will produce:
Also, successully started screensharing produces:
I was able to reproduce this by pressing cancel on the GNOME popup which triggers the promise exception. Afterwards screen share button doesnât do anything and gets fixed with ctrl+r. Screen sharing otherwise works great.
Iâm on 4.8.0 rpm and electron 29.0.0 Fedora 39, gnome
I am experiencing the exact same behavior as @ionspin, rolling back to 4.6.1 fixes the issue. Iâm running Q4OS (Debain Linux with KDE Plasma x11), and Iâm using the flatpak releases. full system information here:
Operating System: Debian GNU/Linux 12 KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.1.0-17-amd64 (64-bit) Graphics Platform: X11 Processors: 16 Ă AMD Ryzen 7 PRO 4750U with Radeon Graphics Memory: 44.8 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: LENOVO Product Name: 20UD000CUS System Version: ThinkPad T14 Gen 1
Iâm not sure what logs to check, but I would like to help get this issue fixed, Webcord has been very stable for me otherwise. If anyone knows what other information would be useful, I would be happy to share.