Bug 148653 - Linux + LibreOffice Writer + render problem in View -> Web : horizontal grey bars
Summary: Linux + LibreOffice Writer + render problem in View -> Web : horizontal grey ...
Status: RESOLVED DUPLICATE of bug 149776
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.2.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-18 16:51 UTC by krumple_sodium
Modified: 2023-01-20 03:52 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
The sample ODT file (268.22 KB, application/vnd.oasis.opendocument.text)
2022-04-18 16:53 UTC, krumple_sodium
Details
Screenshot 1 (140.42 KB, image/png)
2022-04-18 16:54 UTC, krumple_sodium
Details
Screenshot 2 (177.40 KB, image/png)
2022-04-18 16:55 UTC, krumple_sodium
Details
Screenshot 3 (139.84 KB, image/png)
2022-04-18 16:57 UTC, krumple_sodium
Details

Note You need to log in before you can comment on or make changes to this bug.
Description krumple_sodium 2022-04-18 16:51:35 UTC
Description:
I am running Kubuntu 20.04 + LibreOffice 7.3.3.1 that I installed myself on Kubuntu.
It is not yet released however, previous versions all have this same bug.

I included my ODT file + screenshots of random horizontal grey bars that appear and hide text.

This seems to happen mostly with large ODT files.
I only have text and images in my ODT files. There are no tables or charts or anything fancy.

****This problem happens with multiple versions of LibreOffice, Kubuntu 18.04, 20.04, OpenSuse Tumbleweed. I once tried on Win 7 with some older version of LibreOffice.
I think it is a long standing bug.

Steps to Reproduce:
1. Open Dolphin.
2. Find your ODT file
3. Double click the ODT file
4. Use Page Down slowly until you encounter your first grey bar.
5. Keep going down and see if there are other grey bars.
6. Or open your file from LibreOffice Writer File -> Open

Actual Results:
Random horizontal grey bars that appear and hide text.
This happens when the ODT was saved when View -> Web

Expected Results:
There should not be horizontal grey bars.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.3.1 / LibreOffice Community
Build ID: 1688991ca59a3ca1c74bc2176b274fba1b034928
CPU threads: 12; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_CA.UTF-8); UI: en-US
Calc: threaded
Comment 1 krumple_sodium 2022-04-18 16:53:57 UTC
Created attachment 179642 [details]
The sample ODT file

Adding The sample ODT file.
Comment 2 krumple_sodium 2022-04-18 16:54:42 UTC
Created attachment 179643 [details]
Screenshot 1

Screenshot 1
Comment 3 krumple_sodium 2022-04-18 16:55:23 UTC
Created attachment 179644 [details]
Screenshot 2

Screenshot 2
Comment 4 krumple_sodium 2022-04-18 16:57:35 UTC
Created attachment 179645 [details]
Screenshot 3

Screenshot 3
Comment 5 Dieter 2022-05-05 06:39:46 UTC
Thank you for reporting the bug.

I can't confirm with

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

Additional remarks
File opens in Web View. After changing to normal view document hast 95 pages.
Your screenshots also show Webview?
There might be a problem with the document itself, because it took very long time until LO could open it.
Comment 6 krumple_sodium 2022-05-07 03:46:31 UTC
I installed 7.3.3.2 (x64), I downloaded the DEB file from the official page. I uninstalled  7.3.3.1 and installed  7.3.3.2

The problem is still present.

You had said:
====>File opens in Web View. After changing to normal view document hast 95 pages.

Answer = No, DO NOT change to Normal view. The problem won’t be visible.
No, DO NOT change to Normal view and then back to Web view. The problem won’t be visible.

THE ONLY THING that you must do, is double click the ODT file or use File -> Open and then use Page Down until you reach
FONTS
How to install Arial

and a grey bar should be visible there.

Keep going down until you reach
Remove a Repository

and a grey bar should be visible there.

You had said:
====>Your screenshots also show Webview?

Answer = Yes, it is in Webview. That is normal. That is how I have saved it.

You had said:
====>There might be a problem with the document itself, because it took very long time until LO could open it.

Answer = That is normal. Very large ODT documents take a lot of CPU processing time. This is an ancient problem.
I have other large documents that take a long time to open as well, up to 1 minute.
I have a Ryzen 5 3600 3.6 GHz.
Yes, I have other documents that present the same bug I described in this page. It is an ancient bug with LibreOffice.

All of my documents are similar: just text, maybe using 1 or 2 fonts, some pictures. No tables, nothing else.
Comment 7 Dieter 2022-05-07 12:09:43 UTC
(In reply to krumple_sodium from comment #6)

> THE ONLY THING that you must do, is double click the ODT file or use File ->
> Open and then use Page Down until you reach
> FONTS
> How to install Arial
> and a grey bar should be visible there.
> 
> Keep going down until you reach
> Remove a Repository
> and a grey bar should be visible there.

I can't confirm. Perhaps it's only related to Linux

> Very large ODT documents take a lot of CPU
> processing time. This is an ancient problem.
But document size is less than 1 MB. Shouldn't be a problem
Comment 8 krumple_sodium 2022-05-07 13:11:31 UTC
(In reply to Dieter from comment #7)
> (In reply to krumple_sodium from comment #6)
> 
> > THE ONLY THING that you must do, is double click the ODT file or use File ->
> > Open and then use Page Down until you reach
> > FONTS
> > How to install Arial
> > and a grey bar should be visible there.
> > 
> > Keep going down until you reach
> > Remove a Repository
> > and a grey bar should be visible there.
> 
> I can't confirm. Perhaps it's only related to Linux
> 
> > Very large ODT documents take a lot of CPU
> > processing time. This is an ancient problem.
> But document size is less than 1 MB. Shouldn't be a problem

I installed LibreOffice 7.3.3.2 in a virtual machine Win 7 64 bit.
Interestingly, the same file opened much faster (2 s versus 12 s on my Kubuntu running on real hw).
I opened and closed the file multiple times and the difference is huge.
I’m guessing the Windows code has CPU optimizations while the Linux one does not have it.

On the Win 7, scrolling down, I encountered the same grey bar at the location
FONTS
How to install Arial

but I keep scrolling down and the other grey bar did not appear.
Comment 9 krumple_sodium 2022-07-11 00:48:20 UTC
What’s the status?
Can you ask some other people to try the file?
It’s impossible that I am the only one seeing this problem.

I tried with LibreOffice 7.3.5.1 (not officially released yet) and the problem is still present.
Comment 10 Faisal 2022-07-23 17:05:35 UTC
Those gray bars are page breaks. The problem is not that there are page breaks but that some text is not visible near the page breaks. I am marking this as a duplicate of Bug 149776. Please set this back to UNCONFIRMED if you disagree.

*** This bug has been marked as a duplicate of bug 149776 ***
Comment 11 krumple_sodium 2023-01-20 03:52:48 UTC
I have not manually added any bars in my files. I have thousands of ODT files and they have all been created by me as I create documents on various subjects and as I keep adding more text to the ODT files.
Eventually, every document gets bars in random places.
The documents only create text, with arial font, size 10 or 22 and in some cases, they contain images.
Is there any plan to solve this bug?