SpacingBat3 / WebCord

A Discord and SpaceBar :electron:-based client implemented without Discord API.
MIT License
1.88k stars 93 forks source link

Electron Bug - Titlebar missing buttons in Wayland (Fixed upstream) #442

Closed enigma9o7 closed 1 year ago

enigma9o7 commented 1 year ago

A few weeks ago the new version no longer had minimize/maximize/close buttons in the titlebar under GNOME wayland. I looked into it then and it was electron bug: https://github.com/electron/electron/issues/38786

Anyways its fixed now: https://github.com/electron/electron/pull/39003

So would be nice for a new build of webcord to fix this bug cuz it's really annoying to use without a close button.

Thanks. Screenshot from 2023-07-11 21-15-10

orowith2os commented 1 year ago

An Electron 25 release was made with the fix, see https://github.com/electron/electron/releases/tag/v25.3.0

SpacingBat3 commented 1 year ago

I'm not sure about updating, I might need to downgrade to v24 if v25 seems to be an issue for running WebCord on Windows and macOS.

ratchysaw commented 1 year ago

If you installed WebCord with Flatpak, a workaround I found is to use Flatseal and select 'WebCord' then go the 'Socket' section and disable 'Wayland windowing system', WebCord will now run on Xwayland now with window buttons.

I tested screen sharing with the software running in Xwayland and screen sharing works as expected. Experience may vary.

SpacingBat3 commented 1 year ago

Closing as Electron was updated to v26.0.0