Bug 158193 - WRITER: what are the limits of paragraph Area colour fill?
Summary: WRITER: what are the limits of paragraph Area colour fill?
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.2.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paragraph
  Show dependency treegraph
 
Reported: 2023-11-13 10:33 UTC by ajlittoz
Modified: 2025-11-17 03:13 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample showing a stray line above text (40.03 KB, application/vnd.oasis.opendocument.text)
2023-11-13 10:33 UTC, ajlittoz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ajlittoz 2023-11-13 10:33:10 UTC
Created attachment 190806 [details]
Sample showing a stray line above text

LO 7.6.2.1
Fedora 39 with kernel 6.5, KDE Plasma desktop
VCL: kf5 (cairo+xcb)

There is a discrepancy between paragraph style area extent and character style highlight extent.

A character style can be used to temporarily override paragraph style (area) background. Unfortunately character highlight does not extent vertically to the same height as paragraph area, leaving a thin top border over text.

The attached sample file shows the effect.

The report is a follow-on of https://ask.libreoffice.org/t/how-do-i-highlight-around-text-rather-than-the-text-itself/98136/

It addresses specifically this issue and a workaround is provided. However working on the question revealed a more general problem illustrated in the sample file. There is no easy answer to this general problem since it involves "aesthetics". So opinion of UX, typographers and developers is needed.

IMHO, the issue with the top line is a bug. Question is open for intermediate lines inside paragraphs because increased leading may be necessary to enlighten text with some type faces.
Comment 1 Mike Kaganski 2023-11-13 11:07:30 UTC
In Version: 7.6.3.1 (X86_64) / LibreOffice Community
Build ID: c4af5b1259bceea6e979e6fe2435dbee7a5a87c2
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL threaded

the thin line is *below* the text in the first paragraph. It is indeed a bug, somewhere there's an off-by-1 error, or a rounding error.

Is it a regression? Needs checking in older versions.
Comment 2 QA Administrators 2025-11-17 03:13:11 UTC
Dear ajlittoz,

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