thunderbird / thunderbird-android

Thunderbird for Android – Open Source Email App for Android (fka K-9 Mail)
https://thunderbird.net/mobile
Apache License 2.0
11k stars 2.51k forks source link

adress bar clears when rotating to landscape mode #3049

Open Meteor0id opened 6 years ago

Meteor0id commented 6 years ago

Expected behavior

Rotating should not affect any of the typed content, not the body nor the address fileds or subject field

Actual behavior

When typing an address and rotating while the field is still selected, the field is cleared. Rotating back does not make the text reappear.

Steps to reproduce

  1. start typing in the to: field
  2. rotate to landscape mode

Environment

K-9 Mail version: 5.401

Android version: 7.0 (on a moto G5 plus)

Account type (IMAP, POP3, WebDAV/Exchange): IMAP

philipwhiuk commented 6 years ago

On the build on my phone we seem to keep complete tokens but discard addresses still being typed

e.g. for

a@b.com f

on rotate you are left with

a@b.com

aucklander commented 6 years ago

you gotta complete the email address before rotating otherwise it will clear which it shouldn't do.

dabbler011 commented 6 years ago

@philipwhiuk can I work on this issue?

philipwhiuk commented 6 years ago

Yep feel free - I don't think anyone else has looked into why it happens :)

mhf1998 commented 1 year ago

This bug still exists in the latest version, 6.707. @cketti

which means that when writing a message in the "Reply to", "To", "CC", and "BCC" fields with a non-email format, and then Rotate screen, the text is cleared after Rotate

Even if we write an email-formatted text in these fields, if the focus does not change to make it appear like a recipient, and then rotate the screen, we still see that the text is cleared.

rezazarchi commented 1 year ago

I think it should be fixed in the library. They handled state changes for most things, but this issue didn't handled.