Mailspring not responding on opening attachments

Description

Whenever I open an attachment (e.g. a PDF) from an email, after several seconds I get an pop-up saying:
Mailspring is not responding. Would you like to force close it or keep waiting?

To Reproduce…

Steps to reproduce the behavior:

  1. Open an email with some attachment
  2. Open the attachment
  3. Wait…

Expected Behavior

Not getting a pop-up that says Mailspring is not responding, as I’m just having an attachment open.

Screenshots

See here

Setup

  • OS and Version: Linux Fedora 35 with Sway as window manager.
  • Installation Method: From .rpm on the website
  • Mailspring Version: 1.10.2 - 69a03d6d

Additional Context

Log messages (I don’t get any new log message when the pop-up appears):

Running database migrations
App load time: 194ms

{"error":null}
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[169416:0411/111239.738933:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
(node:169379) 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:169379) 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.2-69a03d6d/9e591a04-c8ad-4985-a52a-c07aa029ad9b/stable) returned 504
Error Downloading Update: Unexpected end of JSON input

(mailspring:169379): IBUS-WARNING **: 11:12:41.115: Unable to connect to ibus: Could not connect: Connection refused
(node:169379) 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.

As I read now, probably related to this one