-
-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Screen Sharing broken 4.7.0 #513
Comments
Please explain further what's wrong with it, so far it worked for me just fine on Linux and with Electron 29 I've even had a success screen sharing with audio enabled. |
(FYI, Electron 29 is still in beta, which is main reason why I didn't make an update to it.) |
I'm using AppImage, I just changed my webcord.desktop Exec= to the new version, and when using screen sharing a notification appears in the top bar and then disappears. Linux Ubuntu 22.0.4 |
I guess it would help if you could show how it works (screen capture or screenshots are welcome), share some logs (whatever could show if there's anything going on when clicking on the button, both from DevTools and the STDOUT/STDERR) from the app or at least just tell if the bug happens on your side with Wayland/XWayland or X11… I just need more info. I can't help if I can't reproduce it, and I'm Linux user as well (except I'm still on X11, my main DE doesn't support Wayland yet). |
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. |
Looks like this is a problem then on your side or (maybe) with the PipeWire screen sharing provider (at least from the logs given by @floriansagerer and my tests) – I was able to trigger the PipeWire screen sharing once I've set up GNOME correctly – but given I'm on (still kinda experimental, yet promising) |
(I'm on Arch as well, without testing packages installed, so the version of PipeWire or anything else is likely the same.) |
Same setup works in OBS and Vencord. |
Then again, why I was able to trigger the GNOME screen share menu and you claim nothing happens? It feels rather odd it works for me in GNOME just fine yet you claim on Hyprland/Wlroots portals implementation it just crashes? Also Chromium somehow points this (as far as I understand the logs correctly) as an internal error returned by screen share picker... |
That's the main reason I think it might be somehow a problem specific to the given picker implementation. However, if you could reproduce the same error in GNOME as well, it feels like this problem is somehow related to your current workflow, since again, picker seems to be triggered just fine on my side. I might check again if Chromium behaves differently. Also, about the new API I've moved to, it seems Vencord already uses it as well. So it could be also somehow related to the Electron version, I don't think the implementation is any different from Vencord in case of triggering the PipeWire screen share picker. |
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. |
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 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. |
I should say, bugs reported under flatpaks won't be resolved by me (flatpaks are not maintained by me, and are not maintained by anyone right now), so any comment regarding reproducing it with flatpaks will likely be ignored. The same is with snaps or any other packaging method outside of official builds, especially for those running under a sandbox. |
This might help with #513 or at least will not set any useless options to enable audio share on Electron builds that don't really support it.
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
|
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:
|
As of 4.8.0 screen sharing is working properly for me. Thanks for your work on webcord! |
Running on sway version 1.9 and webcord 4.9.2 and screen sharing does not work:
|
Getting the same as @skykanin on Hyprland using Webcord 4.9.2. |
Running Webcord 4.10.0 using Wayfire 0.8.1 on Arch Linux. Did not work when Adaptive Sync is enabled but worked again after disabling it. Firefox was able to screenshare even with Adaptive Sync on. Edit: Webcord with and without Adaptive Sync crashes when clicking the screenshare button when ran from an application launcher (I'm using rofi wayland). Running from the terminal works perfectly fine without Adaptive Sync, but still crashes with Adaptive Sync. |
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
master
which 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
The text was updated successfully, but these errors were encountered: