Message body not displayed when rotating screen orientation from portrait to landscape
Checklist
- [x] I have used the search function to see if someone else has already submitted the same bug report.
- [x] I will describe the problem with as much detail as possible.
App
Thunderbird for Android
App version
18.0
Where did you get the app from?
Google Play
Android version
16
Device model
Samsung Galaxy S23
Steps to reproduce
- Hold the phone ion portrait mode
- Open/display a message
- Rotate the phone to landscape
- Now the message body isn't displayed
- Scroll a bit
- The message body appears
It doesn't seem to happen with all messages. I can reproduce it (at least) with larger messages that have a large text-only body.
Not sure if it matters. But "General settings > Display > Show split-screen" is set to 'Never'.
Expected behavior
The message body appears immediately after rotating the phone.
Actual behavior
The message only appears after scrolling in the body.
Logs
No response
I was not able to reproduce this issue. I opened messages with larger text-only bodies in portrait orientation, rotated the device to landscape while the message was displayed, and the message body remained visible immediately after rotation without needing to scroll. I also checked with split-screen display disabled, and the behavior was the same.
Tested on TfA 18.0 on Pixel 7(Android 16) and Oppo A58(Android 14)
I've not seen it anymore recently.
My phone was recently updated from OneUI 8 to 8.5 -- maybe this was an OS-level bug that has been fixed(?).
I'll keep monitoring for a while and will try to share more details if I have a case that can be reproduced. Otherwise, I'll close this bug report.
Hi @timovanroermund, thanks for confirming you are not experiencing this issue anymore. I will close this ticket, and if you start experiencing it again, please let us know so we can re-open it.
Hi @rafaeltonholo, I've experienced the same issue again. I've attached an e-mail that triggers this behavior. I've also attached it's body as separate (text) file.
Hence, please reopen this issue.
We aren't able to reproduce this, we are opening this up to the community if anyone can help us reproduce this it would be helpful.
Hereby the settings I'm using. Maybe that could be helpful to reproduce this issue?
thunderbird_settings_export_2026-07-17.k9s.txt
Another hint is that I'm primarily seeing this with text-only mails sent by logwatch. These are rather lengthy and have a specific content that might trigger this behavior.
I today upgraded to v21.0 and it seems that this behaviour had been fixed.
Possibly it's related to this item in the changelog:
"Application could crash when rendering long messages (#11148)"
I'll monitor a few more days to see if it indeed has been fixed.
Unfortunately I noticed the same behavior again, so the issue still exists.
I also learned that Thunderbird has a built-in feature to save a debug log; this may be useful to find out what's happening. Attached you find a log that was taken while rotating the phone a few times between portrait and landscape mode, while displaying a message that triggers this behavior.
And hereby a second log:
I captured this one as follows:
- Go to settings, enable debug logging
- Go back to the folder view and open the message that triggers this behavior --> the message is now visible in portrait mode
- Rotate the phone to landscape --> the message body is now NOT visible
- Wait a few seconds --> the message remains invisible
- Scroll down in the message body --> the message body now becomes visible in landscape mode
- Go back to settings, disable debug logging and export the log
What I noticed in this log, is a long sequence of "onDisplayChanged" events for "VRI[MessageHomeActivity]", switching between different DisplayStates, which may have happened during the pause (item 4 above):
07-26 10:40:24.929 18368 18368 I VRI[MessageHomeActivity]@343340b: handleAppVisibility mAppVisible = true visible = false
07-26 10:40:24.929 18368 18368 D VRI[MessageHomeActivity]@343340b: visibilityChanged oldVisibility=true newVisibility=false
07-26 10:40:24.937 18368 19455 D HWUI : CacheManager::trimMemory(20)
07-26 10:40:24.941 18368 18368 I VRI[MessageHomeActivity]@343340b: Relayout returned: old=(0,0,1080,2340) new=(0,0,1080,2340) relayoutAsync=false req=(1080,2340)8 dur=3 res=0x2 s={false 0x0} ch=true seqId=0
07-26 10:40:24.941 18368 18368 D VRI[MessageHomeActivity]@343340b: Not drawing due to not visible. Reason=!mAppVisible && !mForceDecorViewVisibility
07-26 10:40:24.943 18368 18368 I VRI[MessageHomeActivity]@343340b: stopped(true) old = false
07-26 10:40:24.943 18368 18368 D VRI[MessageHomeActivity]@343340b: WindowStopped on net.thunderbird.android/com.fsck.k9.activity.MessageHomeActivity set to true
07-26 10:40:24.943 18368 19455 D HWUI : CacheManager::trimMemory(20)
07-26 10:40:24.950 18368 18368 I VRI[MessageHomeActivity]@343340b: Relayout returned: old=(0,0,1080,2340) new=(0,0,1080,2340) relayoutAsync=false req=(1080,2340)8 dur=2 res=0x2 s={false 0x0} ch=false seqId=0
07-26 10:40:24.954 18368 18368 D BBA2 : setIsFg isFg = false; delayValue 3999ms
07-26 10:40:28.630 18368 18368 I VRI[MessageHomeActivity]@343340b: onDisplayChanged oldDisplayState=2 newDisplayState=1
07-26 10:40:39.252 18368 18368 I VRI[MessageHomeActivity]@343340b: onDisplayChanged oldDisplayState=1 newDisplayState=2
07-26 10:40:39.271 18368 18368 D Choreographer: CoreRune.SYSPERF_ACTIVE_APP_BBA_ENABLE : stop animation in background states
07-26 10:40:41.564 18368 18368 I VRI[MessageHomeActivity]@343340b: onDisplayChanged oldDisplayState=2 newDisplayState=1
07-26 10:40:50.688 18368 18368 I VRI[MessageHomeActivity]@343340b: onDisplayChanged oldDisplayState=1 newDisplayState=3
07-26 10:41:01.390 18368 18368 I VRI[MessageHomeActivity]@343340b: onDisplayChanged oldDisplayState=3 newDisplayState=4
07-26 10:41:11.874 18368 18368 I VRI[MessageHomeActivity]@343340b: onDisplayChanged oldDisplayState=4 newDisplayState=3
07-26 10:41:17.385 18368 18368 I VRI[MessageHomeActivity]@343340b: onDisplayChanged oldDisplayState=3 newDisplayState=4
07-26 10:41:18.313 18368 18368 I VRI[MessageHomeActivity]@343340b: onDisplayChanged oldDisplayState=4 newDisplayState=3
07-26 10:41:23.834 18368 18368 I VRI[MessageHomeActivity]@343340b: onDisplayChanged oldDisplayState=3 newDisplayState=4
07-26 10:41:28.242 18368 18368 I VRI[MessageHomeActivity]@343340b: onDisplayChanged oldDisplayState=4 newDisplayState=3
...
...
07-26 11:10:00.176 18368 18368 I VRI[MessageHomeActivity]@343340b: onDisplayChanged oldDisplayState=3 newDisplayState=4
07-26 11:10:00.944 18368 18368 I VRI[MessageHomeActivity]@343340b: onDisplayChanged oldDisplayState=4 newDisplayState=3
07-26 11:10:01.042 18368 18368 I VRI[MessageHomeActivity]@343340b: onDisplayChanged oldDisplayState=3 newDisplayState=1
07-26 11:14:57.033 18368 18368 I VRI[MessageHomeActivity]@343340b: onDisplayChanged oldDisplayState=1 newDisplayState=2
07-26 11:15:00.913 18368 18368 I VRI[MessageHomeActivity]@343340b: handleAppVisibility mAppVisible = false visible = true
07-26 11:15:00.925 18368 18368 I VRI[MessageHomeActivity]@343340b: stopped(false) old = true
07-26 11:15:00.925 18368 18368 D VRI[MessageHomeActivity]@343340b: WindowStopped on net.thunderbird.android/com.fsck.k9.activity.MessageHomeActivity set to false
07-26 11:15:00.930 18368 18368 D BBA2 : setIsFg isFg = true
In addition, I noticed the following (maybe unrelated):
07-26 11:15:00.984 18368 18368 W WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
07-26 11:15:00.984 18368 18368 W WindowOnBackDispatcher: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
Hi @rafaeltonholo, is this information useful? Anything else I can/should provide to help root cause this?