Composer windows UI slow

Description

The controls and buttons appear slowly when you open composer, especially the controls at the bottom. Even the signature slowly appear. Also the change signature functions is slow to appear.

To Reproduce…

Steps to reproduce the behavior:

  1. Go to ‘top bar left hand corner’
  2. Click on ‘compose icon’
  3. See everything loading slow

Expected Behavior

all controls and buttons appear in a instant, not loading individual items.

Setup

  • OS and Version: Linux Mint 20
  • Mailspring Version: 1.7.8

(Originally posted by howdev on GitHub.)

mailspring opening and transition after deleting and archiving an email is very slow, it bothers me a lot.

An email client should be user-friendly and fluid.

I believe that the delete/archive action should be done before the UI action, why not make the UI transition and in the background execute the action?
This way, the users won’t feel this “pain” of the email client.