Bug 112009 - Line numbering sizes inconsistent when decreasing font size while having certain spacing and line height values (steps in comment 16)
Summary: Line numbering sizes inconsistent when decreasing font size while having cert...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: low trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 152548 (view as bug list)
Depends on:
Blocks: Line-Numbering
  Show dependency treegraph
 
Reported: 2017-08-24 15:40 UTC by Frederic Parrenin
Modified: 2024-09-16 05:40 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
.odt file to reproduce the problem (32.37 KB, application/vnd.oasis.opendocument.text)
2017-08-24 15:40 UTC, Frederic Parrenin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Parrenin 2017-08-24 15:40:20 UTC
Created attachment 135767 [details]
.odt file to reproduce the problem

Steps to reproduce:
- open the attached file
- observe that some line numbers are small (5, 10, 15, 30) and some other are large (20, 25, 35, 40).
Actually, it seems when a new paragraph is started, the line number is smaller.
Is this a bug or a feature?
Comment 1 Dieter 2017-08-25 08:36:15 UTC
I could reproduce it with your document, but not with one of my own documents. Does it happen to all your documents?
Comment 2 Frederic Parrenin 2017-08-25 08:55:04 UTC
I remarked it only with this document.
I was unable to reproduce it starting with a new document.
Comment 3 Dieter 2017-08-25 09:02:52 UTC Comment hidden (obsolete)
Comment 4 Frederic Parrenin 2017-08-25 09:05:08 UTC
It is not because we cannot reproduce this bug with a new document that this is not a bug!
If this is not a bug, please at least explain why some numbers are small and some other are large in my document.
Comment 5 Dieter 2017-08-25 10:11:05 UTC
I could copy the text of your document in a new documet and line numbering works fine. So I have actual no idea, why this happened in this specific document. Feel free to reopen the bug, but I'm not sure, if this report will be confirmed with another document.
Comment 6 Frederic Parrenin 2017-08-28 15:11:02 UTC Comment hidden (obsolete)
Comment 7 Xisco Faulí 2017-08-31 16:55:31 UTC Comment hidden (obsolete)
Comment 8 Frederic Parrenin 2017-09-01 19:36:39 UTC
I don't remember how I created this document.
Comment 9 Frederic Parrenin 2017-09-01 19:45:04 UTC
When you save the document in .docx format:
- the bug does not show up when opened in Word
- it does show up when opened in LO 5.3
Comment 10 QA Administrators 2018-10-18 02:48:55 UTC Comment hidden (obsolete)
Comment 11 Roman Kuznetsov 2018-10-18 08:44:50 UTC
still repro with file from attach in

Version: 6.2.0.0.alpha0+
Build ID: d9ad59da50c1172fe98f94370221c9c1b688200a
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-10-08_23:34:44
Locale: ru-RU (ru_RU); Calc: threaded
Comment 12 Xavier Van Wijmeersch 2018-10-19 08:27:41 UTC
Changing the fonts and looking in default, heading styles and changing something, the problem goes away with some fonts and with others not

tested with the attachment

Version: 6.2.0.0.alpha0+
Build ID: a51c1829cb90303f28011428873ff9160fdd3152
CPU threads: 8; OS: Linux 4.14; UI render: default; VCL: kde4; 
Locale: nl-BE (en_US.UTF-8); Calc: threaded
Comment 13 Stéphane Guillou (stragu) 2021-06-29 12:08:07 UTC
I can still see the different sizes for line numbers in:

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: f446a203fa2897bab8ae7686c948a8bf060675c6
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-06-24_15:16:38
Calc: threaded

But I couldn't recreate a document exhibiting the same issue from scratch.
Comment 14 Eyal Rozenberg 2022-12-16 15:21:34 UTC
This may be related to my recent #0, #6)"
   href="show_bug.cgi?id=152548">bug 152548.

Anyway, still seeing this with:

Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 360b5861fb46353e7a6b9f5abf13339cd719a8df
CPU threads: 4; OS: Linux 6.0; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US
Comment 15 Buovjaga 2024-09-16 05:34:43 UTC
*** #0, #6)"
   href="show_bug.cgi?id=152548">Bug 152548 has been marked as a duplicate of this bug. ***
Comment 16 Buovjaga 2024-09-16 05:37:09 UTC
Steps:

1. Create a new Writer document.
2. Type in two paragraphs, each with at least 3 lines. You can use the dummy autotext dt+F3
3. Set both paragraphs to have 0.2" below paragraph spacing and 1.15 line spacing (or Proportional with 120%).
4. Tools - Line Numbering, check Show numbering, set interval to 1.
5. Select the entirety of the second paragraph.
6. Set the font size to something small, e.g. 6 pt

Still repro.

Arch Linux 64-bit
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: fb39ae1bc7e4b1cbfc3108efca52ec310faf7363
CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 14 September 2024
Comment 17 Buovjaga 2024-09-16 05:40:25 UTC
If wanting to verify the sizes are different, you can take a screenshot and compare the height of selected areas in GIMP or some other image editor.