-
-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When writing a reply, text disappears if app switches from portait to landscape #45
Comments
I'm on Tusky 1.1.0 and the app crash when I do this. |
I confirm @xuv’s bug exists on my Android phone. |
I've seen something similar but maybe not the same bug while switching between apps. A toot I was writing has gone missing several times but I haven't been able to pin down the circumstances. Given that my device is orientation locked it is some other app redraw event. |
I know the crash that @Aldarone has is already fixed, so that will be fixed in 1.1.1. The EditText (the main text box for the compose page) is actually recreated every time the activity is created. But the text and selection state is saved in a Bundle called savedInstanceState and restored manually to the newly-created EditText. So, either the saving or restoring side of that process isn't happening in some case. |
@Vavassor If that helps, the text restoration is happening as expected when calling a new toot. It's just when responding that it bugs. |
The compose page is not longer recreated when reorienting so there's no way for this bug to occur now. |
Tusky v 1.0.3
Steps to reproduce:
Result:
Expected result:
The text was updated successfully, but these errors were encountered: