If I start editing a message and then switch to a different chat or minimize the app before sending the edited message, the changes which I made in the draft input area are automatically discarded. This is inconsistent with the experience of writing a new message or replying to a message, where changes are kept in the draft input area when switching to a different chat or minimizing the app.
Expected behavior
Switching to a different chat or minimizing the app keeps changes made in the draft input area both when editing messages and writing new messages.
Actual behavior
Switching to a different chat or minimizing the app automatically discards changes made in the draft input area when editing messages.
yes. if you do something else after starting edit, the edit is discarded implicitly, this is on purpose.
it is a weighing up between implementation effort and taking care for corner cases. usually, edit is used to fix a typo, things are short-living, chat messages are anyway short usually. surely there are other situations imaginable, but as said, we did a cut here and spent our few resources and money elsewhere
at some point, we may iterate over that, so thanks for the feedback, that counts towards that (maybe you want to turn this post to a feature proposal)
I didn’t realize this was done on purpose. I assumed that the UI for message editing reused code from normal message writing so I didn’t know you needed a lot of new code and implementation effort for this, and I thought it was just an oversight.
I was confused the first time it happened to me that my edit input was discarded, and I think it would be great to see message editing made consistent with the experience of writing a new message, maybe in some future iteration as you say, but I don’t have the same overview which you and the other developers have of all the things you are working on and how much effort it takes to implement, so I can’t say if it’s worth the cost of some other new feature or bug fix.