Wayland Issues After Version 1.17 Update

I am also having the same issue on a fresh installation of Fedora 43 Workstation after installing the rpm package. I am really new to linux and did try and troubleshoot this then I found this community.

I did get V1.16 working (installed from the software manager) but it seems buggy and I am getting errors that my accounts cannot be synced.

I hope this gets fixed, I love Mailspring and want to keep using it.

Same issue here. CachyOS. Using –ozone-platform=x11 brings up the window. If I close it the window (and not the tray too), it does bring it back up. If I completely shutdown mailspring and then try it open it from the start menu, then it doesn’t work except system tray is showing and appears to be syncing emails as I get alerts. I have to use the x11 parameter at the moment to make it work.

2 Likes

Confirmed 1.71.2 that came out today also has the same problem. 1.71.2 also breaks SMTP Auth :frowning:

1 Like

Manjaro KDE with Wayland here, Kernel 6.12.63-1, Plasma 6.5.4 and not working even with the ā€œā€“ozone-platform=x11ā€œ option.

1 Like

Hey folks - Mailspring 1.17.4 has just been released and includes a fix specifically targeting this Wayland window activation issue (#2599). The window activation context is now handled gracefully, which should resolve the invisible window problem without needing the --ozone-platform=x11 workaround. Additionally, Linux now defaults to thin window framing with a hamburger-style menu. Please give 1.17.4 a try and let us know if the issue persists for you.

One call-out: In some cases, it may still be necessary to start Mailspring with --disable-gpu. If you still don’t see the app’s main window after installing 1.17.4, try passing that flag and see if it resolves it for you.

One other note: When the app runs on Wayland the windows are sometimes missing their shadows and rounded corners. There’s an upstream fix for that coming in Electron and I’m hopeful it’ll get landed in the next couple weeks!

3 Likes

Thanks, confirming this is working on GNOME (Arch Linux), app runs in Wayland - without the --disable-gpu switch and with no issues with shadows/rounded corners.

One small issue is that the --background flag no longer works in Wayland

Since yesterday the app is working again without any special parameters…

AUR doesn’t have 1.17.4 yet, so I tried to build from git repo, however, the latest version I see on master branch is still 1.17.3.
What am I doing wrong?

EDIT: ok, ignore, it is the arch linux repo I am using, and it is not updated yet.

Hey Folks! Mailspring 1.18.0 has just been released with two additional Wayland fixes that should help here:

  • Composer keyboard freeze fixed (#2622): I /think/ that a double focus() call was causing keyboard input to freeze when composing emails under Wayland. This has been resolved.

  • --background flag now works on Wayland (#2623): Since Wayland requires windows to have an activation context and be shown immediately, the --background flag now briefly shows the main window then hides it — the best behavior possible under Wayland’s rules.

There’s still one big annoyance under Wayland - the app is not allowed to change the position of it’s windows, so we can’t launch the app with the same window position it had when it exited. I am sort of mystified that this is intentionally not supported, and it seems there are some Wayland extensions you can install to get this behavior back, but I’m hoping we have more options there soon.

You can update via snap refresh mailspring, the built-in auto-updater, or download from https://www.getmailspring.com/download.

Sidenote: I’m looking to see if we can take over the community AUR repo, it looks like it hasn’t updated since 1.14.0 - I’ll keep you posted there!

2 Likes