Apache OpenOffice (AOO) Bugzilla – Issue 119160
Doesn't "undo" text modifications with "returns". Only "returns" are undone & texts are merged
Last modified: 2017-05-20 10:06:14 UTC
If you enter some text with "Enters/Returns/new lines" in-between, then try to re-do the latest modifications you have entered, it fails. Instead, it just undo the returns without removing the text entered in new lines and merge them with upper line text. Steps to reproduce: 1- Open Impress and create a new empty slide. 2- In the default text box on the stage, enter "test1", then press enter. 3- In the new line, enter "test2", then press enter. 4- In the 3rd line, enter "test3". 5- Don't click outside the text box. Just keep the focus inside the text box. 6- Press control+z and notice the result. the latest "return" is deleted, and the text is merged beside the upper line text. 7- Continue doing control+z, at the end you will have one line says "test1test2test3". Check screen shot attached. Note: if you click outside the object to move focus to a different object, The case won't be reproducible. Undo action will just remove the whole modifications done to the text.
Created attachment 77391 [details] undo_bug
In the first 2 lines, I meant to say "Undo" not "Redo": If you enter some text with "Enters/Returns/new lines" in-between, then try to undo the latest modifications you have entered, it fails.
I have successfully reproduced this bug. Environment: Windows 7 Home Premium 64bit Open Office Version: 3.4.0 AOO340m1(build:9590) - Rev 1325589 STEPS TO REPRODUCE: 1 - Open new empty Presentation 2 - Click slide 1 body to make it editable 3 - Enter the following text (hit Enter button after each word): test1 test2 test3 4 - Hit ctrl + z on the keyboard (undo) NOTE: last new line is removed 5 - Hit ctrl + z once more NOTE: first newline is removed all text will appear on one line now NOTE: similar behavior is seen when using TAB rather than ENTER with each ctrl + z use, a tab is removed Expected behavior: Undo should undo the last event, in this case it is ignoring the last typed character or word and undoing the last newline or tab while preserving typed characters. In the absence of a new line or tab (spaces between words for example), this seems to work better.
This problem looks like the same with issue 119400. Not only in the text field on Impress.
Build info:AOO3.5_r1384214 OS: win7 64 bit Reproduce steps: 1 - Open new empty Presentation 2 - Click slide 1 body to make it editable 3 - Enter the following text (hit Enter button after each word): test1 test2 test3 4 - Hit ctrl + z on the keyboard (undo) NOTE: last new line is removed 5 - Hit ctrl + z once more NOTE: second newline is removed 6 - Hit ctrl + z once more NOTE: first newline is removed Pass
Appears to be duplicate of Resolved bug 119400.
Appears to be duplicate of Resolved bug 119400. *** This issue has been marked as a duplicate of issue 119400 ***