Mailspring won't open after adding an account

Description

I decided to try out mailspring.

It launched fine, I connected my gmail account… and then it won’t open again.

If I reset the config, it opens again, I connect my gmail account, and it doesn’t open anymore.

This is all I get when starting it from the terminal:

[458816:1018/131251.922786:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.FileChooser”
[458816:1018/131251.922856:ERROR:select_file_dialog_linux_portal.cc(290)] Failed to read portal version property
Running database migrations
App load time: 452ms

{"error":null}
Manual update check (updates.getmailspring.com/check/linux/x64/1.14.0-07c62cca/anonymous/stable) returned 204

The tray icon is there, but doesn’t do anything when clicking “settings” or “open inbox”

To Reproduce…

Steps to reproduce the behavior:

  1. Install mailspring from the AUR
  2. Open, connect a gmail account without a mailspring ID
  3. Your mailspring is now cooked

Expected Behavior

Working mailspring

Screenshots

N/A

Setup

  • OS and Version: Arch Linux, running Wayland. (tested: Hyprland, sway)
    • Installation Method: AUR: mailspring-bin
  • Mailspring Version:
mailspring --version
1.14.0-07c62cca

Additional Context

Tried on my desktop too. Same happens (Arch as well)

Worth noting: after like… 10 minutes-ish? of being stuck mailspring just exits with code 0.

I’ve managed to launch it by forcing it to run in XWayland mode. This is (IMO) not an acceptable solution, as it introduces a lot of pain points of X11, especially going forward.

My personal opinion is that X11 is going the way of the dinosaurs anyway.

I use Wayland and have been using Wayland for the past 2 years and it works really well in my opinion.