Bug 122434 - AltSearch extension does not work in a Table in LO Writer
Summary: AltSearch extension does not work in a Table in LO Writer
Status: RESOLVED MOVED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Extensions (show other bugs)
Version:
(earliest affected)
6.1.4.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-02 21:23 UTC by Adalbert Hanßen
Modified: 2019-01-22 13:22 UTC (History)
3 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 Adalbert Hanßen 2019-01-02 21:23:45 UTC
Description:
I often use batch command to exchange ‘\p‘ (paragraph marks) by  ‘\n‘ (forced line feed).
However, If I apply AltSearch 1.4.2 in LibreOffice Writer Version Version 6.1.4.2 under Xubuntu 16.04.5 LTS (x86-64) and replace the batch command to replace paragraph marks by forced linefeeds, it simply replaces the marked portion in a table by the sequence of a line feed .
The same batch applied to some marked portion of a LO Writer document which does not comprise any table works as expected.
This seems to be a bug in AltSearch.

Steps to Reproduce:
1.insert a table into a LO Writer document.
2.Paste some text into any field of that table, e.g. copied output of ls -l.
3.Mark several lines in this text spanning some paragraph marks.
4.Use AltSearch to rexchange (as a regular search) \p by \n.

Actual Results:
The marked portion in the LO Writer document's table gets replaced by a single forced line feed (\n) rather than all \p are replaced by \n.

Expected Results:
just the paragraph marks replaced by forced line feeds.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Comment 1 Roman Kuznetsov 2019-01-17 13:17:31 UTC
>This seems to be a bug in AltSearch.

Sorry, you should write to author of extension

Can you try repeat this problem in old version of LibreOffice?
6.0 or 5.4 for example
Comment 2 Adalbert Hanßen 2019-01-18 10:57:09 UTC
Unfortunately I don't have version 5.4 at hand, but the bug is definitely also present in version 5.1.6.2.

And it is also present in versions running under Windows.
Comment 3 Xisco Faulí 2019-01-22 13:22:14 UTC
Hello  Adalbert Hanßen,
Thanks for reporting the issue.
Please report the problem to the extension's author. You can find the information here: http://macrojtb.hys.cz/HelpAltSearch_en.html
Closing as RESOLVED MOVED