Issue 56579 - Auto-correction should have a separate undo unit
Summary: Auto-correction should have a separate undo unit
Alias: None
Product: Impress
Classification: Application
Component: editing (show other issues)
Version: OOO 2.0 Beta2
Hardware: All All
: P3 Trivial with 4 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Blocks: 21502
  Show dependency tree
Reported: 2005-10-25 02:04 UTC by kohsuke
Modified: 2017-05-20 10:55 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this issue.
Description kohsuke 2005-10-25 02:04:15 UTC
1) insert a new slide
2) click the body of the slide (where it says "click to add an outline"
3) type "HOpeless". Note that "O" is upper case
4) hit enter
5) observe that auto-correction kicks in and change "HOpeless" to "Hopeless"
6) Suppose I didn't like this auto-correction. I undo it by typing Ctrl+Z
7) not only the auto-correction gets cancelled, but my newline gets cancelled, too!

The desired behavior is for the newline action to form its own undo unit, and
then the auto-correction forms its own undo unit, instead of mixing two into one
undo unit. It's not so uncommon for auto-correction to make a mistake, and so it
should be able to undo the correction without undoing other changes.

That is how Microsoft PowerPoint behaves, by the way.
Comment 1 kohsuke 2005-10-25 02:04:51 UTC
I should have mentioned that auto-hyperlinking has the same problem, although
I'm not sure if they are implemented by the same engine. Perhaps a separate bug#
is in order.
Comment 2 wolframgarten 2005-10-25 07:45:13 UTC
Reproducible. Reassigned.
Comment 3 demofreak 2008-06-09 09:45:13 UTC
This issue exists in Calc too.

1. Type some text in a new cell and "HOpeless" as the last word (!), press 
RETURN or click to some other cell to have the auto-correction kick in
2. Press CTRL-Z and the whole cell gets undone.

If you type some other character (space bar etc.) after the auto-corrected 
word, you'll be able to undo the auto-correction without get the whole input 

Seems that the order of undo queue should be resorted for that special case to 
allow undo of auto-correction _before_ undo of whole input.
Comment 4 Marcus 2017-05-20 10:55:39 UTC
Reset assigne to the default "".