Bug 140012 - Document not properly painted.. some 'green bars' don't appear (depending on scroll)
Summary: Document not properly painted.. some 'green bars' don't appear (depending on ...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-30 08:14 UTC by Telesto
Modified: 2022-12-04 18:39 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (22.30 KB, application/vnd.oasis.opendocument.text)
2021-01-30 08:15 UTC, Telesto
Details
Screenshots of the Bug (263.17 KB, application/vnd.oasis.opendocument.graphics)
2021-01-30 17:20 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-01-30 08:14:55 UTC
Description:
Document not properly painted.. some 'green bars' don't appear (depending on scroll)

Steps to Reproduce:
1. Open the attached file
2. Zoom in to say 200 and scroll up down
3. Ever 'Note' should have a green bar but not the case all the time (

Actual Results:
No green bars painted

Expected Results:
Should be always present


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 6ee7a3b2c0565c2871d32d704cb2899445b9f88d
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2021-01-30 08:15:07 UTC
Created attachment 169293 [details]
Example file
Comment 2 Telesto 2021-01-30 08:21:06 UTC
Also in
6.4

6.2

4.4.7.2

3.5.7.2

and in
LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735

not working at all in 3.3.0
Comment 3 Telesto 2021-01-30 08:22:05 UTC
@Rafael
I found a different issue.. which might correlate with the tearing.. who knows
Comment 4 Rafael Lima 2021-01-30 17:20:47 UTC
Created attachment 169308 [details]
Screenshots of the Bug

Hi, I can confirm this bug on LO 7.0.4.2, on Kf5 VCL. I took a few screenshots to better demonstrate how the bug happens.

Basically, the style "Heading Note" has a color set in its "Area" tab. After applying the style, If I scroll down, up and then down again, making the Note paragraph get out of view and then back again, the background color disappears. But if I select the text, the background reappears (see images on the ODG file).

This is what I was using for testing:
Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 16; OS: Linux 5.8; UI render: default; VCL: kf5
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 1:7.0.4~rc2-0ubuntu0.20.10.1~lo1
Calc: threaded
Comment 5 Telesto 2021-02-01 09:22:12 UTC
@Justin,
Can you do quick analysis? Ideally solve, but well.. I'm already happy someone taking a look for a moment. This looks like kind of easy fix from my perspective. Kind of quirky painting issue..

Especially because it concerns the LibreOffice manual in ODT format.. Bit shameful if we can't render that properly
Comment 6 Justin L 2021-02-03 18:24:56 UTC
(In reply to Rafael Lima from comment #4)
> If I scroll down, up and then down again, making the
> Note paragraph get out of view and then back again, the background color
> disappears.
If you only move a part of the paragraph off-screen, then only the section that was off-screen is unpainted.

Zoom doesn't seem to have anything to do with it. I see the same at 100%.

It seems obvious that numbering has a part to do with this. Removing the numbering from the style "fixes" the problem.
Comment 7 Buovjaga 2022-12-04 18:39:48 UTC
Could repro with 7.4, but not with 7.5

Arch Linux 64-bit
Version: 7.4.2.3 / LibreOffice Community
Build ID: 40(Build:3)
CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
7.4.2-1
Calc: threaded

Arch Linux 64-bit
Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 485c9d4f0e59e13e772da8f8a7975f0ddd77c33e
CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 3 December 2022