Bug 37494

Summary: Find \n replace\n does NOT work (regular expressions work wrong in Impress)
Product: LibreOffice Reporter: Martin Bartlett <martin.j.bartlett>
Component: PresentationAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: minor    
Priority: medium CC: pierre.choffardet, sasha.libreoffice
Version: 3.4.0 RC1   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 38261    
Attachments: source file to reproduce problem with find&replace

Description Martin Bartlett 2011-05-23 03:55:48 UTC
Specifically, from the find/replace reg ex help:

To change a line break into a paragraph break, enter \n in the Search for and Replace with boxes, and then perform a search and replace.

Firstly, this simply replaces every soft-linebreak with the literal "\n", secondly whatEVER you enter in the replace box seems to STILL replace every soft-linebreak with the literal "\n" after that.

Editing a PPT format file.

May seem minor but I have about 100 presentations of 5 or so slides each that all need this modification!!!

And yes I do have the "Regular Expressions" switch on.
Comment 1 sasha.libreoffice 2011-05-30 10:14:18 UTC
Created attachment 47329 [details]
source file to reproduce problem with find&replace

This problem reproduced on LibreOffice 3.4 rc1 on Mandriva 64 bit and Windows XP 32 bit
Steps to reproduce:
0. Open file from attachment
1 [review]. Do Edit -> Find&Replace
2. In dialog: in fields "Search for" and "Replace with" enter \n
3. in dialog press button More Options 
4. enable option "Regulag expressions"
5. Press button "Replace All"

Expected: no changes, all 3 lines remains
Actually: all lines becomes as 1 line with \n text inside

The same problem with \t in field "Replace with"
Comment 2 sasha.libreoffice 2011-05-30 10:18:22 UTC
In Writer it works properly
Comment 3 sasha.libreoffice 2011-05-30 10:22:11 UTC
In comment 1 appears strange links. I have not entered them:
>0. Open file from attachment
>1 [details]. Do Edit -> Find&Replace
Comment 4 Björn Michaelsen 2011-12-23 12:03:31 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 5 sasha.libreoffice 2011-12-26 00:34:25 UTC
reproduced on LibO 3.5.0 beta 1

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.