Steps to reproduce gathered from this help request in the WordPress.com support forum:
Result as described by the person reporting the problem: the picture disappeared and the caption appeared as the only text on the whole page.
Note: I tried two tests but I was unable to replicate the problem described where all content from the post disappears after adding a caption to an image at the bottom of a draft post.
Video 1: 1m46s
Tested with WPAndroid alpha-178 (12.8 alpha) on Pixel 3 Android 9.
Video 2: 3m49s
Tested with WPAndroid 12.6 on Pixel 3 Android 9.
(internal references: p4a5px-2pB-p2, 2151902-zen)
I've tried to reproduce this issue without success :(. My guess is that the app ends up in an unexpected state which results in this behavior. However, it's very difficult to fix or even debug when we are not able to reproduce it.
I'd consider running remote-auto-save periodically to prevent the content loss.
I've created an enhancement ticket for periodic remote-auto-save: #10398
@maxme Also mentioned one of the causes of the content loss got fixed in https://github.com/wordpress-mobile/WordPress-Android/pull/10368
I sent the person who inspired this issue an update in the forums 馃槉 at https://en.forums.wordpress.com/topic/i-was-typing-in-the-editor-and-lost-everything/#post-3354486.
@designsimply do you think we can close this ticket?
馃 yes, I think we can close this one in favor of https://github.com/wordpress-mobile/WordPress-Android/issues/10398. Thanks everyone!