Bug 120294 - "Combine single line paragraphs" autocorrect option does not work
Summary: "Combine single line paragraphs" autocorrect option does not work
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoCorrect-Complete
  Show dependency treegraph
 
Reported: 2018-10-03 19:55 UTC by Tonyab
Modified: 2024-04-08 00:38 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Video capture of the problem described in the first comment (3.66 MB, video/avi)
2018-10-04 12:18 UTC, Tonyab
Details
Video in FLV format (9.81 MB, video/x-flv)
2018-10-04 13:41 UTC, Tonyab
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tonyab 2018-10-03 19:55:57 UTC
Description:
This method (https://help.libreoffice.org/Writer/Removing_Line_Breaks) does not work correctly to remove line breaks after copying and pasting texts from other sources (PDF or WEB). It is much more practical and simple to select the text where we want to remove line breaks, selecting "Find & Replace", writing $ in the "Find" box and pressing the "Replace All" button. 

Steps to Reproduce:
1. Tools - AutoCorrect - AutoCorrect Options
2. Options tab, ensure that Combine single line paragraphs if length greater than 50% is selected, and then enter a new percentage. <OK>
3. In the Apply Style box on the Formatting bar, choose “Default”.
4. Format - AutoCorrect - Apply -> Wrong route, maybe it's Tools - AutoCorrect - Apply ... but does not work correctly to remove line breaks.

Actual Results:
Not work correctly to remove line breaks

Expected Results:
I expected the same thing that is done correctly with "Find & Replace" and the $ symbol in the "Find" box.


Reproducible: Always


User Profile Reset: No



Additional Info:
I have tried in all possible ways varying even the percentages from 0% to 100% in "Combine single line paragraphs if length greater than 50%" and it does not work.
Comment 1 Dieter 2018-10-04 09:34:42 UTC
I can't confirm it with

Version: 6.0.6.2 (x64)
Build-ID: 0c292870b25a325b5ed35f6b45599d2ea4458e77
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc: group

and

Version: 6.2.0.0.alpha0+ (x64)
Build ID: 48cfa0b00b22f11ade53aec79b2fdddad253e1bd
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-10-03_02:01:42
Locale: en-US (de_DE); Calc: CL

I used the steps from [1] but I can't see a difference to the steps from the oöd help.
[1] https://helponline.libreoffice.org/6.1/en-US/text/swriter/guide/removing_line_breaks.html?DbPAR=WRITER#bm_id3149687
Comment 2 Timur 2018-10-04 10:43:27 UTC
Report is that "Combine single line paragraphs if length greater than..." doesn't work. It seems to me that reporter is right. 
Dieter, what does it mean you can't confirm? If it works  for you please explain how and give example document. Or you understood it differently?
Comment 3 Tonyab 2018-10-04 12:18:03 UTC
Created attachment 145373 [details]
Video capture of the problem described in the first comment

I accompany a video capture where I first verify the possible failure following the instructions of "Removing Line Breaks" in https://help.libreoffice.org/Writer/Removing_Line_Breaks and how in the end I solve it with a trick of "Find & Replace" (I have lowered the quality of the recording I hope it is displayed well)
Comment 4 Dieter 2018-10-04 12:57:23 UTC
(In reply to Tonyab from comment #3)
> Created attachment 145373 [details]
> Video capture of the problem described in the first comment
> 
I'm sorry, but I couldn't see anything in the video.

I couldn't reproduce it with 65%. I followed the steps from the online help
Comment 5 Tonyab 2018-10-04 13:41:47 UTC
Created attachment 145377 [details]
Video in FLV format

All right! I send you the video in FLV format. If you see it from your mobile it is possible that you need a video viewer like VLC. In principle from the computer I can view it in both formats.
Comment 6 Tonyab 2018-10-04 13:53:44 UTC
(In reply to Dieter Praas from comment #4)

I have tested from 0 to 100% in version 6.1.2.1. and it does not work. I send you the video in FLV format attached in comment 5, I hope you can see it.
Comment 7 Dieter 2018-10-04 14:27:17 UTC
Thanks you for the video. Now I can see the difference.

I used line breaks (ctrl+enter) and not paragraph breaks.
Comment 8 Buovjaga 2018-10-26 17:24:07 UTC
The example in the video consists of changing the style of a block of text (with many short paragraphs) to Preformatted Text. With this I can repro even in 3.3.0.

Arch Linux 64-bit
Version: 6.2.0.0.alpha0+
Build ID: 9a373521d7a328197a4bf9abeb0a981b7acba896
CPU threads: 8; OS: Linux 4.18; UI render: default; VCL: gtk3_kde5; 
Locale: fi-FI (fi_FI.UTF-8); Calc: threaded
Built on 19 October 2018

Arch Linux 64-bit
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 9 QA Administrators 2019-10-27 03:37:47 UTC Comment hidden (obsolete)
Comment 10 Tonyab 2019-10-27 08:36:06 UTC
The problem persists in any version of Libreoffice (including 6.4). I have verified that the problem is due to the paragraph jump with <ENTER>. 

It only works correctly in the case of inserting manual line breaks. But it doesn't work with spaces between paragraphs.

At the present time, the only solution is to search ($) and replace () with <Find & Replace>.

Regards,

P.D.: Information from Help - About LibreOffice

Version: 6.4.0.0.alpha1 (x64)
Build ID: cc57df8f942f239d29cb575ea5a7cb01405db787
CPU threads: 4; OS: Windows 10.0 Build 18362; UI render: GL; VCL: win; 
Locale: en-US (es_ES); UI-Language: en-US
Calc: threaded
Comment 11 Dieter 2021-09-06 19:00:08 UTC
Behaviour ist still the same in

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 74d35e143d557a7e65c4443f5b80cb9d406b1fa1
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

LO help [1] says, that you have to apply the default paragraph style. as far as I can the default PS is not available in style menu, but in the paragraph tab of the sidebar
Comment 12 QA Administrators 2023-09-07 03:15:50 UTC Comment hidden (obsolete)
Comment 13 Dieter 2023-09-17 15:03:54 UTC
Having again a look at this bug report:

Help [1] is about line break and this works, if you follow stepf from help. But example in video of comment 3 is about paragraph breaks. So AFAIK LO doesn't offer such a feature for paragraph breaks. So for me NAB or perhaps an enhancement request.
Tonyab, what do you think?

=> NEEDINFO


[1] https://help.libreoffice.org/7.6/en-US/text/swriter/guide/removing_line_breaks.html?&DbPAR=SHARED&System=WIN
Comment 14 QA Administrators 2024-03-16 03:14:55 UTC
Dear Tonyab,

This bug has been in NEEDINFO status with no change for at least
6 months. Please provide the requested information as soon as
possible and mark the bug as UNCONFIRMED. Due to regular bug
tracker maintenance, if the bug is still in NEEDINFO status with
no change in 30 days the QA team will close the bug as INSUFFICIENTDATA
due to lack of needed information.

For more information about our NEEDINFO policy please read the
wiki located here:
https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO

If you have already provided the requested information, please
mark the bug as UNCONFIRMED so that the QA team knows that the
bug is ready to be confirmed.
 
Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-NeedInfo-Ping
Comment 15 John 2024-04-08 00:38:39 UTC
I was unable to confirm this with:

Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1
CPU threads: 24; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded