Bug 114876 - A 1,000 paragraphs limitation for selected text
Summary: A 1,000 paragraphs limitation for selected text
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paragraph
  Show dependency treegraph
 
Reported: 2018-01-07 09:26 UTC by Butch
Modified: 2021-03-05 11:55 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Demo 1,000 paragraphs limitation (71.92 KB, application/vnd.oasis.opendocument.text)
2018-01-07 09:28 UTC, Butch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Butch 2018-01-07 09:26:36 UTC
Description:
If in a document a part is selected which contains more than 1,000 paragraphs, the paragraph format data are not displayed correctly.


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.1
Comment 1 Butch 2018-01-07 09:28:59 UTC
Created attachment 138936 [details]
Demo 1,000 paragraphs limitation
Comment 2 Butch 2018-01-07 09:58:58 UTC
I discovered this problem when I tried to remove horizontal lines from larger documents.

In some cases these lines are not easy to remove. The procedure which normally works is:
- Select the complete text.
- Change in Format > Paragraph the setting for Borders to No border, with activated 'Merge with next paragraph'.

The attached demo doc contains such a horizontal line at the end of the doc, which cannot be removed e.g. by 'Clear direct formatting'. However, the procedure described above doesn't work in this case. When the complete text is selected, the option 'Merge with next paragraph' is displayed as 'indefinite' (with a small square in the box).

This seems to be the main indicator for the existing limitation problem. In the demo file this can be analyzed as follows:

- There are paragraph numbers in the doc. At the end of the 1,000th paragraph 'xxx' is inserted to easily find this place.
- Select the first 1,000 paragraphs (ending with 'xxx'). The option 'Merge with next paragraph' is indicated correctly as activated.
- Select the first 1,001 paragraphs. 'Merge with next paragraph' is indicated as indefinite.

(In the demo doc the horizontal line can be removed in two steps, by selecting the first 1,000 paragraphs in the first step and the remaining part of the doc in the second step, and changing Borders to No border in each step.)

So there seems to be a (not documented?) limitation of 1,000 paragraphs for selecting text, in the sense that the paragraph format data are not displayed correctly (and not accessible for changes) for selections of more than 1,000 paragraphs.

A similar observations is described in https://bugs.documentfoundation.org/show_bug.cgi?id=59070. My report refers explicitely to the 1,000 paragraphs limitation.
Comment 3 tommy27 2018-01-07 10:11:06 UTC Comment hidden (obsolete)
Comment 4 Telesto 2018-01-07 11:12:26 UTC
I did notice the same thing and filed a bug report (bug 112995) , but I wasn't ware of the cause :-).
Comment 5 Dieter 2018-01-07 11:15:09 UTC
Another similar / same bug is bug 112800
Comment 6 tommy27 2018-01-07 11:17:36 UTC
Ok. status NEW.
If you think that some of these reports are duplicates label them accordingly.
Comment 7 Butch 2018-01-07 11:56:34 UTC
Same observationn in LO 5.4.3.

OK, there are several reports referring to the effects of this bug/limitation, but not all point out the cause, i.e. the 1,000 paragraphs limitation. 

https://bugs.documentfoundation.org/show_bug.cgi?id=112800 seems to be the best report until now. But my attached file demonstrates the problem maybe more accurately.
Comment 8 QA Administrators 2019-01-08 03:43:05 UTC Comment hidden (obsolete)
Comment 9 Telesto 2020-06-26 20:34:26 UTC
I expect this to be solved with 6.4
Comment 10 Dieter 2021-03-05 11:55:03 UTC
WORKSFORME with

Version: 7.1.1.2 (x64) / LibreOffice Community
Build ID: fe0b08f4af1bacafe4c7ecc87ce55bb426164676
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL