When editing in the Stack Exchange Android app and navigating away to get some reference URLs the text is gone when I go back into the app.

Seems like the edit isn't kept in memory. Can you please save them in memory? (drafts)

  • 2
    Not a bug, drafts are saved only when posting new question. You can change this post to feature request asking to apply drafts to edits as well. There is existing request for edit drafts but it's for the desktop site version. Feb 6 '14 at 11:56
  • Changed to feature request, thanks.
    – HTDutchy
    Feb 6 '14 at 12:02
  • 2
    Yes, please! I lost on a non-trivial edit I was trying to make when I went back to the browser to copy the URL to paste into my answer. I know it is preferable make one large edit rather than a series of trivial edits (hello community wiki!), but if one does not have a desktop handy, I would see no alternative to having to post multiple small edits to add a citation. Feb 25 '14 at 16:53
  • 1
    I'm retagging this; this is a bug. Sep 25 '14 at 5:37
  • 1
    @ShadowWizard I think you were interpreting this as being about closing the edit to browse around within the app, then returning to the edit within the app. This bug is really about leaving the app to check on some other application, then returning to the app - the edit gets reset, and it really shouldn't be, any more than alt+tabbing away from a browser window should reset an edit to its original state. Sep 25 '14 at 5:57
  • 2
    @doppelgreener right, if that is the case I agree it is a bug. Cheers! (Also removed the draft tag as it is not relevant) Sep 25 '14 at 8:16
  • Related (not dupe, is newer): Screen sleep loses edits
    – James
    Jul 27 '15 at 14:45

I've just experienced this in Android App v1.0.50 on a HTC One running Android 4.4.3.

Here's how to reproduce it:

  1. Begin editing an answer. Make some changes.
  2. Hit Home, or switch to another app using your app switcher. You might do this to visit your browser to check something you're going to mention in your edit.
  3. Switch back to the Stack Exchange app. Look at the answer you were editing. Your edit is now gone, and you're staring at the original version of the answer.

This is kind of like if my edit of this answer would be reset and forgotten if I alt+tabbed during editing to another window.

If you were making a non-trivial edit, you might feel pretty annoyed by this point. Luckily for me I was just changing a couple of words in an answer when I noticed this, and I switched to my browser to check one of the words.

Note that this does not happen when editing questions. Editing a question preserves the edit properly.

  • 1
    This also happens in iOS app, when leaving while editing, the app gets back to Feeds when you return and the edit is lost. Sep 25 '14 at 8:22
  • @ShadowWizard Ouch, at least in the Android app it stays on the edit page for that answer. Sep 25 '14 at 8:32
  • 2
    I repro'd this earlier today, I think I know what's causing it. Except a fix soon! Dec 5 '14 at 6:33
  • @KasraRahjerdi any update, 10 weeks later? Feb 12 '15 at 12:39
  • 1
    @KasraRahjerdi just in case you missed my ping... (and yes, it's still happening) Jul 3 '15 at 6:28
  • @Kasra confirmed today on Moto X, Android 4.4.4
    – cxw
    Jul 25 '15 at 13:28
  • @Kasra so I take it this bug can't be fixed? Jul 27 '15 at 14:44
  • @KasraRahjerdi See also: Screen sleep loses edits
    – James
    Jul 27 '15 at 14:48
  • This... really shouldn't be happening anymore. It was fixed at some point but I might've broken it again, I'm trying to do repros and check on it right now. Jul 27 '15 at 15:17
  • @KasraRahjerdi Thanks for the reply, we'd appreciate the checks! Jul 27 '15 at 15:17

Sorry for the long delay on this, I thought I had fixed it already but it turned that I only fixed a red herring. It's fixed as of version 1.0.71 coming out later today or tomorrow.

Keep in mind, this is only fixing the loss of modifications to an answer when momentarily leaving the app, if you close the app from the app switcher or run out of memory while using other applications, it's still possible to lose your edit. This is because we don't do the full drafting logic we have for questions/answers when you're editing. That should also be implemented, but it's only loosely related to this much more important bug.

  • Working now for me with 1.0.71. Thank you!
    – cxw
    Jul 31 '15 at 10:25
  • +1, thanks! I haven't updated my version of the app yet, so I can't say if it works...but this fellow claims to have v 1.0.71 and still experiencing this bug.
    – MTL
    Aug 3 '15 at 1:51
  • @Shokhet the situation I described is different. I never go out the app, just navigate from draft to the question and back
    – Guillermo
    Aug 3 '15 at 3:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .