Download it now!
Bug 120979 - File statistics: wrong number of lines
Summary: File statistics: wrong number of lines
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: File-Properties
  Show dependency treegraph
 
Reported: 2018-10-28 05:58 UTC by Dieter
Modified: 2019-10-29 07:11 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
example with line numbering (24.89 KB, application/vnd.oasis.opendocument.text)
2018-10-28 05:58 UTC, Dieter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dieter 2018-10-28 05:58:13 UTC
Created attachment 146086 [details]
example with line numbering

Steps to reproduce

1. Open attached document; lin numbering is enabled (78 lines)
2. Files => Properties => statistics
3. Number of lines: ... => update => lines: 68 (what is wrong)

Expected result: correct number of lines (78) and that numer should be also displayed without an update (like all other statistics)

Found in

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.alpha1+ (x64)
Build ID: 8274c4c62df5b937b3f0bec9e1eeca85f3b219d4
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-10-22_01:47:50
Locale: en-US (de_DE); Calc: CL
Comment 1 Oliver Brinzing 2018-10-28 09:06:53 UTC
(In reply to Dieter Praas from comment #0)
> Expected result: correct number of lines (78) and that numer should be also
> displayed without an update (like all other statistics)

already reproducible with AOO 4.1.5
Comment 2 QA Administrators 2019-10-29 03:29:38 UTC Comment hidden (obsolete)
Comment 3 Dieter 2019-10-29 07:11:59 UTC
Still present in

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: de-DE (de_DE); UI-Language: en-US
Calc: threaded

It seems, that LO doens't count empty paragraphs in statistic. If thisist the case, there should be 
a) Rename "Lines" in "Lines with Text"
b) Adjust informations in LO Help [1]


[1] https://help.libreoffice.org/6.4/en-US/text/shared/01/01100400.html?System=WIN&DbPAR=WRITER&HID=modules/swriter/ui/statisticsinfopage/StatisticsInfoPage#bm_id3147294