GNOME Bugzilla – Bug 750615
Using Ctrl+Z in plain text composer messes up content
Last modified: 2020-04-27 14:22:02 UTC
1. Import https://lists.wikimedia.org/pipermail/wikitech-l/2015-June/082008.html 2. Reply (in plain text mode) 3. Do not use any mouse pointer for the next steps 4. use PageDown key to scroll down to very bottom 5. Press Home key 6. Press arrow up two times so you're in front of "-- " line 7. Press Shift key and keep it pressed 8. Press arrow up key to mark all lines above, except for the first two lines which are: On Mon, ... Brian Wolff ... > On 6/8/15, ... Andre Klapper ... 9. Press Delete key 10. Press Ctrl+Z 11. See broken result: On Mon, ... Brian Wolff ... > OnOn Sat, ... Ricordisamoa ... 12. Press Delete key again 13. Press Ctrl+Z 14. See broken result: On MOn Sat, ... Ricordisamoa ... ... On
Created attachment 304838 [details] mbox testcase, to reply to
Fixed with following commits: commit 07ff97ee339c74c61479e77c85f1a0962f297f1e in the master branch for Evolution 3.17.4+ commit 61b45e3835fc4d7101519c2729cb04b8a7b28b0a in the gnome-3-16 branch for Evolution 3.16.4+ As I'm still not completely sure whether the undo/redo in quoted content is fixed, please feel free to reopen this report if necessary.
Nope, still buggy in many cases... one of which I'll attach a screencast for. That's in HTML mode though. Shouldn't there be a bunch of test cases covering this automatically in both modes and in multiple levels of quoting, with typing, copy/cut/pasting, etc.?
Created attachment 308241 [details] screencast behavior in 3.16.4 when replying to this bug's mail in HTML
A lot of things had been changed for 3.37.2, where the composer code had been rewritten to use JavaScriptCore API. I'm closing this in favor of that change. Please retest with that.