Bug 1206079 - 'Undo' in composer doesn't work right
Summary: 'Undo' in composer doesn't work right
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: evolution
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Popela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1220385 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-26 09:42 UTC by Tim Waugh
Modified: 2015-05-22 05:26 UTC (History)
6 users (show)

Fixed In Version: evolution-3.16.1
Clone Of:
Environment:
Last Closed: 2015-05-22 05:26:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 749712 0 None None None Never

Description Tim Waugh 2015-03-26 09:42:25 UTC
Description of problem:
'Undo' doesn't work right when composing a message.

Version-Release number of selected component (if applicable):
evolution-3.15.92-1.fc22.x86_64
webkitgtk3-2.4.8-5.fc22.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Compose new message.
2.In message body, type "abc" then enter, then "def" then enter. Message body looks like this:

abc
def|

(| is the cursor)

3.Press backspace twice. Message body looks like this:

abc
d|

4.Select Undo or press Ctrl-Z. Message body looks like this:

ae|bc
d

5.Select Undo or press Ctrl-Z. Message body looks like this:

aef|bc
d

Actual results:
aef|bc
d

Expected results:
abc
def|

Comment 1 Milan Crha 2015-04-07 06:27:52 UTC
Thanks for a bug report. I'd prefer to have it filled upstream, as this doesn't seem to be a Fedora specific bug report, but we can start here too.

Tomas, could you look on it, please?

Comment 2 Tomas Popela 2015-04-07 06:36:16 UTC
I tested it on top of the last commit in Evolution gnome-3-16 branch and I got the expected result.

Comment 3 Tim Waugh 2015-04-24 09:48:25 UTC
Still fails with evolution-3.16.1-1.fc22.x86_64.

Comment 4 Milan Crha 2015-04-27 08:29:40 UTC
Tomas, could you take care of this, please?

Comment 5 Milan Crha 2015-04-27 10:43:01 UTC
I can confirm this with evolution git master at commit 2ee6aa0 and gnome-3-16 branch at commit d9f965a. I begun with the steps in comment #0, even it doesn't show exact output at 2) and 3). Rewriting the steps:
- press: aaa<enter>bbb<enter><backspace><backspace><Ctrl+Z>

The result is:
  aab|a
  bb

That's in the Plain Text mode with a Normal paragraph style.

Comment 6 Tomas Popela 2015-05-11 13:06:51 UTC
*** Bug 1220385 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.