element-hq / element-desktop

A glossy Matrix collaboration client for desktop.
https://element.io
GNU Affero General Public License v3.0
1.13k stars 258 forks source link

No connectivity on Wayland #861

Open aftix opened 2 years ago

aftix commented 2 years ago

Steps to reproduce

  1. Install element-desktop on arch for X11
  2. Login to element-desktop on X11
  3. Change to wayland

Outcome

What did you expect?

I expected connectivity to be the same between wayland and X11.

What happened instead?

On Wayland, the desktop app was unable to connect to matrix servers, giving a connectivity error.

Additional Information

After running env -u element-desktop and logging in, I was able to run in XWayland fine (but had to re-verify the device). After running this, element worked as normal in wayland.

Operating system

Arch Linux

Application version

Element version: 1.10.13 Olm version: 3.2.8

How did you install the app?

From pacman, arch official repositories

Homeserver

matrix.org

Will you send logs?

No

HarHarLinks commented 2 years ago

related vector-im/element-desktop#852

stefonarch commented 2 years ago

Probably the exact same here, it worked fine until I logged in X11 once.

env -u element-desktop didn't work here. I logged back in X11, verified 1 other device I used as fallback (cinny), logged back in into wayfire and atm element-desktop connects fine.

Arch linux.