After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 750615 - Using Ctrl+Z in plain text composer messes up content
Using Ctrl+Z in plain text composer messes up content
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: Composer
3.16.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Tomas Popela
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2015-06-09 09:10 UTC by André Klapper
Modified: 2020-04-27 14:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
mbox testcase, to reply to (4.39 KB, application/mbox)
2015-06-09 09:14 UTC, André Klapper
Details
screencast (481.24 KB, video/webm)
2015-07-27 18:33 UTC, Jean-François Fortin Tam
Details

Description André Klapper 2015-06-09 09:10:51 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
Comment 1 André Klapper 2015-06-09 09:14:19 UTC
Created attachment 304838 [details]
mbox testcase, to reply to
Comment 2 Tomas Popela 2015-06-24 06:44:34 UTC
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.
Comment 3 Jean-François Fortin Tam 2015-07-27 18:31:55 UTC
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.?
Comment 4 Jean-François Fortin Tam 2015-07-27 18:33:34 UTC
Created attachment 308241 [details]
screencast

behavior in 3.16.4 when replying to this bug's mail in HTML
Comment 5 Milan Crha 2020-04-27 14:22:02 UTC
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.