Actually you can start mailspring on Ozone/Wayland with:
mailspring --enable-features=UseOzonePlatform --ozone-platform=wayland
The initial setup of the account works flawlessly and let me configure my Gmail account.
Still at the end of the day if I try to click on the systray icon I have the app freeze on the cli and eventually crash:
[28317:0302/135451.907614:ERROR:gl_surface_egl.cc(780)] EGL Driver message (Error) eglQueryDevicesEXT: EGL_BAD_ALLOC error: In eglQueryDevicesEXT: Failed to allocate device list.
[28317:0302/135451.935098:ERROR:gpu_init.cc(441)] Passthrough is not supported, GL is egl
[28317:0302/135451.944663:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
Running database migrations
App load time: 539ms
{“error”:null}
[28278:0302/135452.074400:ERROR:cursor_loader.cc(115)] Failed to load a platform cursor of type kNull
(node:28278) electron: The default of nativeWindowOpen is deprecated and will be changing from false to true in Electron 15. See https://github.com/electron/electron/issues/28511 for more information.
(Use mailspring --trace-warnings ...
to show where the warning was created)
(node:28278) electron: The default of nativeWindowOpen is deprecated and will be changing from false to true in Electron 15. See https://github.com/electron/electron/issues/28511 for more information.
Manual update check (updates.getmailspring.com/check/linux/x64/1.10.0-06926efb/f9b615d3-3aec-4a2d-b3dd-960862282825/stable) returned 204