[upstream] Proportional line spacing under 100 % makes first line too low in LibreOffice Writer

Bug #1772430 reported by Miikka-Markus Alhonen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LibreOffice
Confirmed
Low
libreoffice (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Using proportional line spacing with less than 100 % makes the first line of each paragraph and each page considerably lower than all the other lines.

This problem is an issue particularly with fonts designed for Arabic, where the default line spacing is very big so as to allow for space for optional vowel marks below and above the line. If these marks are not used, the space between the lines is often too big. If I change line spacing to proportional 80 %, most of the lines look fine but the first line of each paragraph and of each page (even without a paragraph break) gets crammed into the second line. As a user, I would rather expect the first line to have the same visual height as all the other lines. See the attached document and screenshots using Noto Naskh Arabic and 80 % line spacing.

Description: Ubuntu 17.10
Release: 17.10

libreoffice-writer:
  Installed: 1:5.4.6-0ubuntu0.17.10.1
  Candidate: 1:5.4.6-0ubuntu0.17.10.1
  Version table:
 *** 1:5.4.6-0ubuntu0.17.10.1 500
        500 http://mr.archive.ubuntu.com/ubuntu artful-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1:5.4.5-0ubuntu0.17.10.5 500
        500 http://security.ubuntu.com/ubuntu artful-security/main amd64 Packages
     1:5.4.1-0ubuntu1 500
        500 http://mr.archive.ubuntu.com/ubuntu artful/main amd64 Packages

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: libreoffice-writer 1:5.4.6-0ubuntu0.17.10.1
ProcVersionSignature: Ubuntu 4.13.0-41.46-generic 4.13.16
Uname: Linux 4.13.0-41-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.8
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon May 21 14:50:01 2018
InstallationDate: Installed on 2017-02-13 (462 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=fi_FI.UTF-8
 SHELL=/bin/bash
SourcePackage: libreoffice
UpgradeStatus: Upgraded to artful on 2017-11-05 (196 days ago)

Revision history for this message
In , Bugzilla-l (bugzilla-l) wrote :

Description:
When Paragraph style - line spacing - proportional is set to value smaller than 100%, the spacing between first and the second line in the paragraph is wrong, it is too small. The second line ends up being too close to the first line. It looks very odd.

It gets worse is you set "line spacing"- proportional to really small values, like 60% or 50%.

Other lines in a paragraph seem to be spaced correctly.

All fonts are affected, but on some fonts the error is less noticable.
With "liberation serif", the error is smaller.

Try "Deja Vu Sans", line height: proportional-57%
Try "liberation serif", line height: proportional-50%

On some fonts, like "Charis Sil", it gets really annoying at proportional-90%

Steps to Reproduce:
1. Type a paragraph of text having at least 3 lines, (5 is better)
2. Change the font of the paragraph to "liberation serif"
3. Right click on the paragraph, select "edit style", go to "Indents and spacing", "Line spacing", set it to "Proportional":50%, click OK

Actual Results:
The spacing between the first and the second line is smaller than spacing between second and third line.

Expected Results:
All lines spaced evenly.

Reproducible: Always

User Profile Reset: No

Additional Info:
There is an additional bug. When line spacing: proportional is set to small values (<40%), the (rendering of) first line of text get clipped on it's upper part.

User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0

Revision history for this message
In , Beluga (beluga) wrote :

Created attachment 128203
Screenshot of Dejavu Sans 57% proportional line spacing

Repro.

Win 7 Pro 64-bit Version: 5.3.0.0.alpha1+
Build ID: 02e6c1c95993740e0dbea724b3014348c4b6559d
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default;
TinderBox: Win-x86@39, Branch:master, Time: 2016-10-24_04:01:05
Locale: fi-FI (fi_FI); Calc: group

Revision history for this message
In , Beluga (beluga) wrote :

Created attachment 128204
Test file with Dejavu Sans

Created with 5.3

Revision history for this message
In , Beluga (beluga) wrote :

Btw. in LibO 3.5 all the rows are smashed together, even a bit more than the 1st and 2nd line in newer versions.

Revision history for this message
In , Qa-admin-q (qa-admin-q) wrote :

** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.

If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not
appropriate in this case)

If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3
. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword

Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug

Revision history for this message
In , Thomas-lendo (thomas-lendo) wrote :

Still repro.

Version: 6.0.0.0.alpha1+
Build ID: 1f8c3e3b78e0abb96d06a51eca354ae7ade5deb2
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3;
Locale: de-DE (de_DE.UTF-8); Calc: group
build from 2017-11-01

Revision history for this message
Miikka-Markus Alhonen (malhonen) wrote :
Revision history for this message
Miikka-Markus Alhonen (malhonen) wrote :

Another screenshot showing a crammed-up line at page break (no paragraph break).

Revision history for this message
Miikka-Markus Alhonen (malhonen) wrote :

This is the document which was used to create the screenshots.

Changed in libreoffice (Ubuntu):
importance: Undecided → Low
Revision history for this message
Olivier Tilloy (osomon) wrote :

Sorry for the lack of feedback until now, Miikka.
I can reliably reproduce the issue with libreoffice 6.0.6 on Ubuntu 18.10 and libreoffice 6.1.0.3 installed as a snap.

At a first glance this looks like an upstream issue to me. Would you mind filing a bug report at https://bugs.documentfoundation.org/enter_bug.cgi?product=LibreOffice&format=guided (if there isn't one already) and linking to it here so we can track its resolution? Thanks!

Revision history for this message
Olivier Tilloy (osomon) wrote :

Nevermind, that's a known (and old) issue: https://bugs.documentfoundation.org/show_bug.cgi?id=103099

Changed in libreoffice (Ubuntu):
status: New → Confirmed
Revision history for this message
In , Olivier Tilloy (osomon) wrote :

This has been reported in Ubuntu (https://launchpad.net/bugs/1772430) and I can reliably reproduce the issue with 6.0.6 and 6.1.0.

Changed in df-libreoffice:
importance: Unknown → Low
status: Unknown → Confirmed
Revision history for this message
In , Qa-admin-q (qa-admin-q) wrote :

Dear bugzilla,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.

If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not
appropriate in this case)

If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3
. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword

Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug

Revision history for this message
In , Miikka-Markus Alhonen (malhonen) wrote :

Still reproducible on:

Version: 6.3.1.2 (x64)
Build ID: b79626edf0065ac373bd1df5c28bd630b4424273
Threads CPU : 4; OS : Windows 6.3; UI Render : par défaut; VCL: win;
Locale : fr-FR (fr_FR); Langue IHM : fr-FR
Calc: threaded

Revision history for this message
In , Dgp-mail (dgp-mail) wrote :

*** Bug 127556 has been marked as a duplicate of this bug. ***

summary: - Proportional line spacing under 100 % makes first line too low in
- LibreOffice Writer
+ [upstream] Proportional line spacing under 100 % makes first line too
+ low in LibreOffice Writer
Revision history for this message
In , Qa-admin-q (qa-admin-q) wrote :

Dear bugzilla,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.

If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not
appropriate in this case)

If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3
. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword

Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug

Revision history for this message
In , Justus Piater (justus-dev) wrote :

I just observed this bug in LibreOffice 7.3.2.

Revision history for this message
In , Qa-admin-q (qa-admin-q) wrote :

Dear bugzilla,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.

If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not
appropriate in this case)

If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3
. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword

Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug

Revision history for this message
In , bdjnk (bdjnks) wrote :

I can reproduce this bug today with the following.

Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
24.2.2-3
Calc: threaded

Revision history for this message
In , bdjnk (bdjnks) wrote :

Created attachment 193881
Screenshot of Hebrew 95% proportional line spacing

This is not limited to English, nor to small values. Here you can see it affecting Hebrew noticeably at 95% proportional line spacing.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.