Closed Xathros1 closed 1 year ago
Sadly there is not a lot I can do about this, WebCord in general is in a broken state and there appears to be a new issue when I fix an existing one.
My recommendation for now would be to use a different client until spacingbat3 finishes the WebCord rewrite and I update the flatpak to it
this maybe a issue with chromium imho. When you set the flag there, Preferred Ozone platform to auto, you get nearly the same broken result, albeit without the unmoveable window + no way to max+min but scaling is broken as well. I didn't had any such issues with the commit before you enabled wayland.
screenshot of the GUI before
I'll revert to the last commit for now...
flatpak update --commit=0d3ea740d63fdeda6b44da6c21b83904ab1f04b54bb6c29916edb98bc9b110fc io.github.spacingbat3.webcord
https://github.com/flathub/io.github.spacingbat3.webcord/commit/86ee8a1f9ab0b24f1bebadf07a34a50d3cce9ac6 fixes upper titlebar (min/max) and unmoveable window font scaling still broken
any way to fix this?
Try running webcord with the --force-device-scale-factor=2
argument, but replace the 2
with the scaling factor you use (200% = 2, 150% = 1.5)
Try running webcord with the
--force-device-scale-factor=2
argument, but replace the2
with the scaling factor you use (200% = 2, 150% = 1.5)
flatpak run io.github.spacingbat3.webcord --force-device-scale-factor=2
this breaks the window & it actually get's smaller
other scaling numbers, do the same.
If that does not work then there is not a lot I can do. As I said before, the main WebCord branch is currently unmaintained and getting a rewrite which may fix some of these issues.
Also things like cursor size under mutter and HiDPI screen, IME support (Electron is still stuck at v1 protocol while everything uses v3). Pretty much completely broken like most other Electron apps under native Wayland.
Try --enable-features=WaylandWindowDecorations
this was added in electron 17.x, webcord 4.2.0 uses electron 24.0.0, so it should work.
Edit. Didn't notice this was already being applied.
The font scaling depends on https://github.com/electron/electron/issues/36632
I just tried the appimage of webcord 4.3 and this seems to fix the scaling issue. it bumps electron to v25. Still to be released on flatpak.
Edit: It looks like the scaling issue is unrelated to electron, rather it's a flatpak specific issue? I've tried the appimage of 4.2 and scaling works there as well as expected.
Scaling is unrelated to flatpak. Did you try the appimage in native wayland ie. with --ozone-platform-hint=auto
. You might need to extract it to apply the flag.
Scaling is wrong only in native wayland mode. In Xwayland or XOrg it works fine.
Electron by default uses xwayland in a wayland session.
You're right, when enabling native wayland in the way you described, even with the appimage it doesn't scale correctly.
You should get a new webcord update soon, once you have it run the command listed in https://github.com/flathub/io.github.spacingbat3.webcord/tree/opt-out-wayland#run-under-xwayland which would make webcord run under XWayland again and bring back proper scaling.
it's still not released?
flatpak remote-info flathub io.github.spacingbat3.webcord
Kennung: io.github.spacingbat3.webcord
Ref: app/io.github.spacingbat3.webcord/x86_64/stable
Architektur: x86_64
Zweig: stable
Sammlung: org.flathub.Stable
Herunterladen 100,8 MB
Installiert: 254,1 MB
Laufzeitumgebung: org.freedesktop.Platform/x86_64/22.08
Sdk: org.freedesktop.Sdk/x86_64/22.08
Commit: fd3fd654f6a9463a4f289f59af77a8414406c711c94c19c23b6a7cbb177f8a08
Parent: 3456e73fb5e39dbf058a101d27467414f51baa9150dad89510d4c5a6da5985b4
Betreff: Update webcord to 4.3.0 (e651cce5)
Datum: 2023-06-24 13:34:12 +0000
The aarch64 build failed https://buildbot.flathub.org/#/builders/6/builds/49513 because resolving the screenshot url timed out for some reason.
Huh that's weird, I'll try restarting the build
Since this commit has been published https://github.com/flathub/io.github.spacingbat3.webcord/commit/72aed6d30138ed81c981a4f6fc728fca2be57bc3
opensuse tumbleweed Kernel: 6.3.2-1-default Resolution: 3840x2160 DE: GNOME 44.1 WM: Mutter
Screenshot of the window
Log when running with default permissions:
Crash log when wayland disabled: