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: 2023-01-03 10:25 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
Comment 4 Dieter 2021-09-06 19:02:03 UTC
Still present 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
Comment 5 Stéphane Guillou (stragu) 2023-01-03 10:25:20 UTC
Repro in recent master build:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ef3b7b7118c854d8ca67cc2249b6c08ddc1885eb
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded