Closed IAGOnGithub closed 1 year ago
which compositor do you use? I don't see this behaviour with sway and electron 22
Funny enough, I'm using Sway and Electron 22.
Does the same issue happen with other electron apps or chromium?
Also btw here's exactly what's in my ~/.config/electron-flags.conf
, you may want to double check that as well. I run webcord
with no arguments.
--enable-features=UseOzonePlatform,WaylandWindowDecorations
--ozone-platform=wayland
I copied your flags and the issue still occurs consistently. And no, I don't have any other Electron applications to test with.
The issue only occurs when the compositor is set to a scale factor higher than 1. And for some reason, this wasn't the first thing I tested. It likely happens on all wlroots-based compositors, but I can't test Mutter or Kwin. The bug report has been edited to reflect this.
Not sure when this issue was resolved, but it seems to work correctly now. Closing.
Aknowledgements
[X] 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 reproduceable when WebCord is packaged on at least all three latest supported Electron major releases.
[ ] This issue is reproduceable 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).
[X] There are no fixes done to
master
which resolves this issue.[ ] My issue describes one of the unstable and/or not fully implemented features.
[X] 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
v22.0.0
Application version
v4.1.1 stable
Bug description
Trying to move server icons in the sidebar reliably triggers a crash running under Wayland natively.
Steps to reproduce:
--ozone-platform
flag set towayland
I can gather additional information if needed. Just tell me what I have to do.
Additional context
Crash ONLY occurs when Webcord is running under Wayland natively and scaling is set above 1. Xwayland is unaffected and may be a viable workaround, as is using a scale factor of 1 or lower.