Bug 134109 - Flickering Layout with tables in hidden section and following tables
Summary: Flickering Layout with tables in hidden section and following tables
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Section
  Show dependency treegraph
 
Reported: 2020-06-18 13:45 UTC by Wahrendorff
Modified: 2023-10-10 16:20 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
ODT showing flicker effect after hiding Section Hidden (49 bytes, text/plain)
2020-06-18 13:45 UTC, Wahrendorff
Details
odt with Tables to reproduce the problem (34.61 KB, application/vnd.oasis.opendocument.text)
2020-10-13 08:25 UTC, Wahrendorff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wahrendorff 2020-06-18 13:45:11 UTC
Created attachment 162164 [details]
ODT showing flicker effect after hiding Section Hidden

We are using LibreOffice UNO-API as a Report Engine and create "Templates" for Mass Reporting in LibreOffice.

One heavily used feature is to hide Section, based on an expression (we replace that in content.xml upon generation.)

When a specific configuration of elements occure, the reszulting odt shows a never ending flicker effect on the following tables containing tables. Previous tables are not affected.

We managed to confine the problematic constellation to this bits:

* Field "Page Count" is anywhere on the page.
* A Hidden Section, containing a table with >=40 Cells is anywhere on the page
* An table contains another table, is following the Hidden Section somewhere on the following few pages.

Removing or changing any of this constellation is also removing the effect.

The fun began when I also placed a protected section with table containing a table after the hidden section.

This stopps the flickering effect after a while, the protected Section will grow to and the containing tables will be placed on page 4.

When adding more cells to the table in the hidden section, the protected Section will grow even further, pumping up the pagecount.

To reproduce the bug, simply hide the Section named "Hidden" in the attached file.

We were able to reproduced this behavior with Versions 6.0.7, 6.3.5 and 6.4.4.2 on Windows and Linux.
Comment 1 Dieter 2020-10-08 14:47:58 UTC
Unfortunately the attached file is a .txt-file and not an .odt-file. So could you please attach the odt-file? Thank you.

=> NEEDINFO
Comment 2 Wahrendorff 2020-10-13 08:25:01 UTC
Created attachment 166339 [details]
odt with Tables to reproduce the problem
Comment 3 Wahrendorff 2020-10-13 08:27:27 UTC
Embarrassing.

Here is the odt I intent to attach.
Comment 4 Dieter 2020-10-15 10:48:55 UTC
I confirm it with

Version: 7.0.2.2 (x64)
Build ID: 8349ace3c3162073abd90d81fd06dcfb6b36b994
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: threaded

Results:
a) Hide section "Hidden" => Flickerng for 2-3 seconds and document has now 4 pages instead of one page (same result, when I unprotect the section "Protected"
b) Flickering doesn't stop, if i remove section "Protected"
Comment 5 Gerald 2021-09-22 08:56:13 UTC
I have the same behaviour in my documents with the use of tables in hidden sections.
Does anyone have a workaround or an Idea to solve it?
In my documents, it seems that the problem are the tables in the section.
Comment 6 Gerald 2021-09-22 08:56:42 UTC
Version: 7.2.0.4 (x64) / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-AT (de_AT); UI: de-DE
Calc: threaded
Comment 7 QA Administrators 2023-09-23 03:15:38 UTC Comment hidden (obsolete)
Comment 8 Dieter 2023-10-10 16:20:45 UTC
Still present in

Version: 7.6.1.2 (X86_64) / LibreOffice Community
Build ID: f5defcebd022c5bc36bbb79be232cb6926d8f674
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded