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: 2020-10-15 10:48 UTC (History)
3 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"