Bug 71989 - EDITING: CUT can't be restored with Undo in select-all text
Summary: EDITING: CUT can't be restored with Undo in select-all text
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
3.6.7.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Undo-Redo
  Show dependency treegraph
 
Reported: 2013-11-25 13:43 UTC by Jérôme Borme
Modified: 2018-10-27 20:09 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jérôme Borme 2013-11-25 13:43:45 UTC
I could find several "Undo is broken" bugs like bug 37405 bug none matched this exact issue.

Steps to reproduce:
1. Open a new Impress presentation
2. Draw a text area and type in a text
3. Edit/Select all (selects all text in the text area).
4. Edit/Cut. At this point the cursor is inside an empty text area.
5. Press Escape or click somewhere on the page. At this point the empty area is deleted.
6. Use Edit/Undo

Result: Text area is NOT restored. If there were more events in the undo history, these are correctly undone. Just this text area disappeared from the Undo history.

Variation

Perform steps 1 and 2, then do the following:
2a. Click somewhere else in the page.
2b. Click inside the text area.
2c. Add more text inside the text area.
Perform steps 4, 5, 6 as described above.

Result: Undo unexpectedly restores the text area like it was after step 2, forgetting about all changes done at steps 2a, 2b, 2c.
Comment 1 Jérôme Borme 2013-11-25 13:49:27 UTC
I forgot to mention that the result of the variation bug, it can happen that the text area is not restored to the correct dimensions, being restored to some kind of "zero width" instead (text then appears one letter per line, like written vertically). I could not find a reproducible recipe for this specific occurrence but it happened several times during my tests.
Comment 2 ign_christian 2014-07-03 07:14:52 UTC
Reproducible with LO 4.3.0.1, 4.2.5.2, 3.6.7.2 - Ubuntu 12.04 x86.

Same behavior in AOO 4.1.0, I guess this is an old bug inherited from OOO.
Comment 3 QA Administrators 2015-07-18 17:42:39 UTC Comment hidden (obsolete)
Comment 4 Jérôme Borme 2015-07-18 18:15:39 UTC
Bug still present in LO 4.4.3.2 (gentoo linux)
Comment 5 QA Administrators 2016-09-20 10:17:52 UTC Comment hidden (obsolete)
Comment 6 Telesto 2018-02-15 18:01:06 UTC
Repro
Version: 6.1.0.0.alpha0+
Build ID: 06cfd5a962f9d8d9462fc270f1b1f730c90bddfe
CPU threads: 4; OS: Windows 6.3; UI render: default; 
Locale: nl-NL (nl_NL); Calc: CL
Comment 7 Heiko Tietze 2018-02-20 21:53:27 UTC Comment hidden (no-value)
Comment 8 Heiko Tietze 2018-02-20 21:54:25 UTC Comment hidden (no-value)