-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Native wayland support #15725
Comments
Element looks ugly on HiDPI sway. Electron supports Wayland now, latest jitsi works fine for example. Please rise the priority. |
It seems that electron 11.4.1 is used now. Upgrading to electron 12 would be the first step here. This'd close lots of rendering bugs on Linux desktop, plus improve security (compared to XWayland, at least). |
That is something that is planned |
Electron12 and Element-Desktop build with it are in community Repo of Arch now. So Arch Users can use it. Renderer Crashes are so far only if a video does get displayed. (on sway and kde. Gnome has not that problem) Text channel work fine. Element/1.7.23 Chrome/89.0.4389.90 Electron/12.0.2 (tested with xeyes if it uses Wayland) |
With #178, electron has been upgraded to 12.0.2, yay! This has now been released in the stable release 1.7.25. Running element-desktop with wayland seems to work fine with:
I'll close the issue here and suggest to create separate issues for any findings. (So far, I have noticed one minor issue: Resizing with |
Awesome! I confirm that it works. |
not work for me I have:
i do:
|
In my case it is working fine on Debian testing with sway with element-desktop from the riot.im repo. I'm testing with xwininfo though, as xeyes doesn't work for me. |
I tested on sway/debian sid with |
strange, after reboot it works |
Works and is quite stable on NixOS/Sway with version |
On Gnome (40.2), starting element with Arch Linux |
@beedaddy Gnome does not support rendering the decorations itself like other compositors. This is a well known issue and the Gnome team has made it clear that they will not address it. Each individual application has to implements its own decorations to work properly in Gnome. Work on this is being tracked in the Electron issue tracker. Regarding moving windows, can't you hold Super and click-drag to move windows around? |
@WhyNotHugo Thanks for the explanation! Regarding the Super-key, yes, that is possible. But after closing to tray and re-opening, the window again is at the top-left corner. |
Sounds like a separate issue, might be worth opening a separate issue. |
Hey, I am experiencing some issues with element on Arch Linux wayland with Hyprland.
|
For me it was fine at first try |
Element-desktop on Linux currently doesn't natively run under Wayland but requires Xwayland.
Being able to run element-desktop in native wayland would be favorable (no Xwayland requirement, less performance overhead, better HiDPI support, ...).
The good news is that this can already be achieved with a nightly version of electron (i.e. version 12), as this supports native wayland for a couple of days now! See electron/electron#10915 for the state of wayland support in electron.
In order to try it out, follow the instructions for local development in the element-desktop README and just do
yarn add electron-nightly
instead ofyarn add electron
and run withyarn start --enable-features=UseOzonePlatform --ozone-platform=wayland
.According to electron/electron#10915 decorations might be missing in Gnome/mutter, as mutter requires client-side decorations and electron doesn't do them yet. I don't know whether this is an issue, as I'm not using Gnome.
In sway everything works fine so far on a quick glance!
Electron 12 might be out in February (rough guess from looking at the release schedule), so this issue can hopefully be resolved in the foreseeable future, yay!
The text was updated successfully, but these errors were encountered: