Writing new email and turning phone sideways destroys email

I’m writing a new email, but if I turn my phone sideways and back, the new email just disappears. Please fix!

Samsung Galaxy Flip 6
K9 8.2

I’m unable to reproduce this on my Pixel 6a with Android 15 December update.

I can go between portrait and landscape and keep a draft email going adding a bit in each rotation.

I don’t want to start a flood of “works for me” comments, but yes, it works for me as well on a Samsung Galaxy A50.

Please see [Regression] Crash on screen rotation when composing email · Issue #8606 · thunderbird/thunderbird-android · GitHub , we’re aware of the issue and hope to find a solution soon.

2 Likes

I found more situations when this happens and when not. I would say, its a K9 bug, got even a popup saying something whent wrong in the app etc. Now my phone suggests to set K9 in deep sleep mode, because it’s crashing often. This happened after making several tests with composing new email.

@cketti said that that the crash depends on the length of email adress, but that’s not the whole case. Sometimes it works and sometimes not.
Here is some steps to reproduce and test, and maybe someone then can find a soultion to this.

  1. Start a new message in portal mode and write just a random email address you never have used before like a.b@com leave the cursor at the end of the email address. Turn the phone horizontal(and back to portrait), and the email address diapperas. This step can be repeated with the same address you just tested, as long you leave the cursor in the end of the email address

  2. Do the same steps with the same or similair short email address, but now move the cursor to subject or message field. Now you can see that the email address is kind of saved in K9, and gets a coloured letter in front of the email address in the email address field. Now when you turn the phone horizontal(and back to portrait), everything works as expected.

  3. Do the same steps, but now use a long email adress like fffffffffffffff.fffffffffffffff@com (15.15 f letters.com) As in step one, the email address disappears.

  4. In Step 2, you don’t get the coloured letter in the front of the email address in the email address field, and the email disappears when turning phone horizontal(and back) OR the new email disappears and K9 can crash.
    Notice, sometimes when reproducing the steps, it’s possible to write a “long” email address, and when moving the cursor to sublect or message, the email address is “saved” correctly and you can turn the phone and everything works as expected.

  5. The most intresting part is, that if you save a “long” email address under a contact i your phones contact list, compose a new message in K9 mail, search the email address by contact name and choose it from there, everything works as expected, no matter how log or strange the email adress is You always get the couloured letter on the front of the email in the email adress line, and everything works as expected.

Also how long K9 has been active in the background makes difference in the behaviour, when the the email address diappears OR the new message disapperas when turning the phone from portrait mode to horizontal and back.