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.
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!
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
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.
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!