Bug 132478 - Semi-transparent areas have white lines when using newline
Summary: Semi-transparent areas have white lines when using newline
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paragraph
  Show dependency treegraph
 
Reported: 2020-04-27 22:10 UTC by Ole Tange
Modified: 2023-06-15 02:57 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
File with the white line (39.54 KB, application/vnd.oasis.opendocument.text-flat-xml)
2020-04-28 06:34 UTC, Ole Tange
Details
Test case - now with screenshot (74.48 KB, application/vnd.oasis.opendocument.text)
2020-05-01 07:42 UTC, Ole Tange
Details
clip at single line spacing with highlighting applied, incorrect height of transparent attribute (32.28 KB, image/png)
2020-05-05 13:49 UTC, V Stuart Foote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Tange 2020-04-27 22:10:55 UTC
Description:
When you put a semitransparent background in a text area on top of a black element, the black is gray (as expected).

But if you press enter and type a new line, you will get a white line.

It does not appear if you use SHIFT-Enter.


Steps to Reproduce:
1. Open attached document
2. See the 3rd line (on my screen it looks like the image below)

Actual Results:
There is a white line.

Expected Results:
There should be no white line.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.0.7.3
Build ID: 1:6.0.7-0ubuntu0.18.04.10
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: kde4; 
Locale: en-US (en_US.UTF-8); Calc: group
Comment 1 Ole Tange 2020-04-28 06:34:39 UTC
Created attachment 160013 [details]
File with the white line
Comment 2 Ole Tange 2020-04-30 09:14:46 UTC
Repro in:

Version: 6.3.3.2 (x64)
Build ID: a64200df03143b798afd1ec74a12ab50359878ed
CPU tråde: 8; Styresystem: Windows 10.0; Gengiver af brugergrænseflade: Standard; VCL: win; 
Lokalisering: da-DK (da_DK); Sprog for brugergrænseflade: da-DK
Calc: threaded
Comment 3 Ole Tange 2020-04-30 09:42:55 UTC
Repro in:

Version: 6.4.3.2 (x64)
Build ID: 747b5d0ebf89f41c860ec2a39efd7cb15b54f2d8
CPU tråde: 8; Styresystem: Windows 10.0 Build 18363; Gengiver af brugergrænseflade: Standard; VCL: win; 
Lokalisering: da-DK (da_DK); Sprog for brugergrænseflade: da-DK
Calc: threaded
Comment 4 Ole Tange 2020-05-01 07:42:01 UTC
Created attachment 160175 [details]
Test case - now with screenshot
Comment 5 Dieter 2020-05-05 07:55:47 UTC
I can confirm it with

Version: 7.0.0.0.alpha0+ (x64)Build ID: 8c8b3a4f83f67882b284ddc3b3fe10d3fe6dedf4CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win; Locale: de-DE (de_DE); UI-Language: en-GBCalc: CL

But i think, this is not specific to transparency or text on shapes: If you set a paragraph background color in an new document, you get the same behaviour. There is always a thin line visible between paragraphs. Don't know, if this is a bug.

cc: Design-Team
Comment 6 Heiko Tietze 2020-05-05 08:09:10 UTC
(In reply to Dieter from comment #5)
> But i think, this is not specific to transparency or text on shapes: If you
> set a paragraph background color in an new document, you get the same
> behaviour. There is always a thin line visible between paragraphs. Don't
> know, if this is a bug.

Cannot confirm this (but the issue with transparency). Thought it's related to spacing, set to 1.15 lines, but even with single line distance the size is not calculated correctly. 

Not an UX issue.




PS: I wonder why wrapping of your version info is broken. "Copy Version Info" returns for me:

Version: 7.0.0.0.alpha0+
Build ID: 1bc96e1d9c4d372761ac4b6a2891cbcc3768a60f
CPU threads: 8; OS: Linux 5.6; UI render: default; VCL: gtk3; 
Locale: de-DE (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 7 V Stuart Foote 2020-05-05 13:49:49 UTC
Created attachment 160380 [details]
clip at single line spacing with highlighting applied, incorrect height of transparent attribute

When I reduce the line spacing to single / proportional 100% and apply highlighting--the coverage of the highlights fully align/match. But for text of the paragraph only set transparent--the calculation of transparency is not the full height of the line--there is extra leading. 

Incorrect transparency rendering.
Comment 8 Ole Tange 2020-05-09 09:49:54 UTC
The line is also visible when printed. So it is not just an artifact on the screen.
Comment 9 QA Administrators 2022-05-10 03:29:05 UTC Comment hidden (obsolete)
Comment 10 Dieter 2022-05-10 06:18:19 UTC
Still present in

Version: 7.3.3.2 (x64) / LibreOffice Community
Build ID: d1d0ea68f081ee2800a922cac8f79445e4603348
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL
Comment 11 Diana Vides 2023-06-15 02:57:12 UTC
Unfortunately, the bug is still present in version 7.5.3.2

Version: 7.5.3.2 (X86_64) / LibreOffice Community
Build ID: 9f56dff12ba03b9acd7730a5a481eea045e468f3
CPU threads: 6; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: es-ES (en_US); UI: en-US
Calc: threaded

It was also present in the most recent master build:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e4c611ddc731d6a2ca9c3de61a02d1d4b6eefa9b
CPU threads: 6; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded