When composing a new message, switching accounts makes the “Content” field Unwritable. If I write something in it before the switch, the bug doesn’t occur - Only when the first thing I do is switching accounts.
Hey thanks for filing this! I tried to reproduce this but I actually couldn’t get it to happen. There’s a small chance that this is actually related to the sync workers crashing in #1660, let’s fix that and see if it’s still reproducible. Also curious whether this has anything to do with having a signature enabled / disabled.
I tested, and can confirm the following reproduction steps (Mailspring 1.8.0, Ubuntu 20.04):
Make sure you have at least one account without a default signature. (Disable the default signature from an account if you must.)
Create a new email in the composer from an account with a default signature. The composer area must be empty for the bug to occur.
Switch the From field to the account without a default signature.
Notice that you can no longer type in the composer.
Switch the From to an account with a default signature.
The composer works again.
If you type in the composer and switch to the account without the default signature, it works fine. However, if you clear the composer and switch to the account without the default signature, you cannot type.
Additionally, starting a new email from the account without the signature works. You can even switch between accounts without signatures, and they still work. However, switching from without → with → without (on blank draft) locks the composer again.