Issue 84031 - Wrong undo sequence of AutoCorrect + <Enter>
Summary: Wrong undo sequence of AutoCorrect + <Enter>
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 2.3 RC3
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 114656 (view as issue list)
Depends on:
Blocks:
 
Reported: 2007-11-28 02:56 UTC by zhongqiyao
Modified: 2017-05-20 11:17 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description zhongqiyao 2007-11-28 02:56:55 UTC
Microsoft Windows XP Home SP2, Chinese traditional-character version.
OpenOffice Writer 2.3rc3, Chinese traditional-character version.

THIS IS NORMAL:

1. AutoCorrect is enabled in default state.

2. Type (<space> means a space character):
a - b<space>

3. It will become (<dash> means a dash character):
a <dash> b<space>

4. Press <Undo> (Alt+Backspace):
a - b<space>

5. Then you can continue with the hyphen there instead of a dash.

BUT THIS SEEMS TO BE A BUG:

1. AutoCorrect is enabled in default state.

2. Type (<Enter> means the <Enter> key):
a - b<Enter>

3. It will become (<dash> means a dash character):
a <dash> b
<cursor here>

4. Press <Undo> (Alt+Backspace):
a <dash> b<cursor here>

5. You can press more <Undo>'s for the dash to go back to a hyphen,
but as long as you press <Enter> again, it will become a dash again.

Thanks.

Qiyao
Comment 1 michael.ruess 2007-11-28 09:26:03 UTC
Reassigned to SBA.
Comment 2 kpalagin 2008-01-11 10:55:17 UTC
Confirming with 2.4m241 on WinXP - as described.
Comment 3 eric.savary 2010-09-21 19:35:50 UTC
Changing summary.

The problem is that Enter triggers the AutoCorrection so that we have a sequence:
1. Enter
2. AutoCorrection.

Undo should do:
1. AutCorrection
2. Enter

But does:
1. Enter
2. AutoCorrection.

Reassigned to MBA.
Comment 4 eric.savary 2010-09-21 19:36:29 UTC
*** Issue 114656 has been marked as a duplicate of this issue. ***
Comment 5 Marcus 2017-05-20 11:17:44 UTC
Reset assigne to the default "issues@openoffice.apache.org".