Issue 97420

Summary: Writer crashes after Undo-Redo-Undo with tracked changes not shown
Product: Writer Reporter: amy2008 <amy2008>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P2 CC: issues, ooo.redflag
Version: DEV300m37   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 84292    

Description amy2008 2008-12-19 08:20:13 UTC
Can reproduce it in Writer with DEV300m37 on WinXP and Fedora

How to reproduce it 
1 Create a new Writer document
2 Type ENTER three times, set cursor to the third paragraph, enter a character
  what you like, e.g. 'a'.
3 Edit - Changes - check 'Record', delete the character you entered just now
4 Edit - Changes - uncheck 'Show' and uncheck 'Record'
5 CTRL + A, Delete
6 Undo, Redo, Undo

Result 
OOo crashes

Expectation
OOo works well

Regards
Li Meiying
Comment 1 michael.ruess 2008-12-19 16:40:14 UTC
MRU->AMA: as described, 4 emptyparagraphs, in third enter a character, turn on
redlining, delete character, turn off "Show changes" and "Record changes",
select all, delete, Undo-Redo-Undo -> crash. 
Comment 2 apienk01 2009-11-24 08:36:22 UTC
Just an observation that can be helpful. I work a lot with long texts in the
'record changes' mode with changes hidden ('show' ticked off) both on Microsoft
Word and OpenOffice.org Writer. When pressing undo (button or Ctrl-Z) more than
a few times in OOo, the undo behavior becomes unpredictable. It randomly changes
text that hasn't been edited yet, and then just stops undoing. So my guess is
the undo queue gets mixed up somehow.

Happens in OOo 3.0.0, 3.1.0 and 3.1.1 on Ubuntu.