Issue 119526 - Replace Enter with Space doesn't work in OO3.4
Summary: Replace Enter with Space doesn't work in OO3.4
Status: CLOSED DUPLICATE of issue 119681
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: 3.4.0
Hardware: PC All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2012-05-29 15:02 UTC by Antoine
Modified: 2012-08-30 09:03 UTC (History)
5 users (show)

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


Attachments
Picture of bug (59.21 KB, image/jpeg)
2012-05-29 15:02 UTC, Antoine
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Antoine 2012-05-29 15:02:28 UTC
Created attachment 77738 [details]
Picture of bug

In Apache Openoffice 3.4 I tried to replace the enter with a space. However, this worked in older versions of OO, I get a failure result in AOO3.4.

What did I do?:
1. I made a document with 3 lines, each containing the word 'Test':
Test
Test
Test
2. I selected 'Search & Replace'; searched for $ and replaced it with a space (" ").
3. I selected 'Regular Expressions'.

The result of this is:
Test
TestTest

Problem: Third and second line are pasted together without a space between the words, second and first line are not pasted together, but line first contains now a space on the end (see picture).

Any suggestion? When I search for \n it also doesn't work.
Comment 1 Antoine 2012-05-29 15:06:04 UTC
I was forwarded from the forum to this bug-site. The text is a copy of my text on the forum. So ignore the last sentence.
Comment 2 Ariel Constenla-Haile 2012-05-29 15:31:49 UTC
Confirmed with current AOO 3.4.0 release on Linux x86_64
Comment 3 Ariel Constenla-Haile 2012-05-29 16:13:07 UTC
There is a crash with undoing his action:

1. Create a new Writer document
2. Write 'Test' and press ENTER
3. Repeat step (2) two more times

You get three lines with the word 'Test', the cursor is positioned at the end of the third line

4. Select "Search & Replace"
5. Search for $ and replaced it with a space ' '
6. Select "More" - "Regular Expressions"
7. Close the "Search & Replace" dialog

The cursor is positioned at the end of the third line. You get the same result as in comment 1

Test 
TestTest

There is a space at the end of 'Test' in the first line

8. Select "Edit" - "Undo: Replace '$' -> ' '"

The space at the end of 'Test' in the first line is removed. The cursor is positioned at the end of the first line.

9. Select "Edit" - "Undo: New Paragraph"

AOO crashes.
Crash reproduced on Linux and WinXP.
Comment 4 Li Feng Wang 2012-06-12 08:16:08 UTC
have relationship with Bug 119681.

Different cursor positions may have different behaviors, learn it.
Comment 5 Ariel Constenla-Haile 2012-06-18 00:09:22 UTC
Requesting release blocker status: it is an important regression
Comment 6 Oliver-Rainer Wittmann 2012-06-21 12:21:07 UTC
solved by fix for bug 119681

Thus, marking this issue as a duplicate.

*** This issue has been marked as a duplicate of issue 119681 ***
Comment 7 Yan Ji 2012-07-04 08:46:00 UTC
Remove release blocker request flag due to it's a duplicated defect.
Comment 8 Du Jing 2012-08-30 09:03:52 UTC
close duplicated defect~