Bug 151360 - When footnote present, text disappears at the bottom of a cell (especially) when bigger font is used
Summary: When footnote present, text disappears at the bottom of a cell (especially) w...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.1.2 release
Hardware: ARM macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 151361 (view as bug list)
Depends on:
Blocks: Writer-Tables Footnote-Endnote
  Show dependency treegraph
 
Reported: 2022-10-05 15:57 UTC by Daniele
Modified: 2023-02-23 08:21 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Test-Table-file (154.75 KB, application/vnd.oasis.opendocument.text)
2022-10-05 15:57 UTC, Daniele
Details
12pt test file (237.11 KB, application/vnd.oasis.opendocument.text)
2022-10-21 20:47 UTC, Daniele
Details
16pt test file (232.88 KB, application/vnd.oasis.opendocument.text)
2022-10-21 20:49 UTC, Daniele
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniele 2022-10-05 15:57:33 UTC
Created attachment 182842 [details]
Test-Table-file

Hi,

Actual behaviour: When a table contains a footnote, in some pages occurs that in page view the text at the bottom of the cell disappears instead of being brought to the next page. This effect is also present when exporting to pdf.

[In my documents, the text is split into a table where I have a source language on the left and a target language on the right]

The attached document had to be changed for privacy reasons. You'll find an example of this text on page 183.

Desired behaviour: it should not hide text.

Reproduce: Follow the steps above.





Version: 7.4.1.2 / LibreOffice Community
CPU threads: 8; OS: Mac OS X 12.6; UI render: default; VCL: osx
Locale: it-IT (it_IT.UTF-8); UI: en-US
Calc: threaded
Comment 1 Eike Rathke 2022-10-05 16:13:16 UTC
*** Bug 151361 has been marked as a duplicate of this bug. ***
Comment 2 Timur 2022-10-06 09:13:54 UTC
As explained in bug 151362, page number changes. 
Please change text where wrong to something searchable, like few repeats of "This part of text is  properly seen" and "This part of text is hidden". Please also put a bookmark there.
Comment 3 Daniele 2022-10-21 20:47:19 UTC
Created attachment 183194 [details]
12pt test file

Test file in 12pt
Comment 4 Daniele 2022-10-21 20:48:33 UTC
Hi Timur,

thank you to try getting to the bottom of this. I am attaching two test files with searchable text and bookmarks. One file is 12pt the other 16pt.

There are two strange behaviours:

1.Invisible text: Text after which remaining paragraph is not more visible (it continues in the same cell beneath the visible area) which happens in cases when footnotes are present (but not all the time).

You will see how much text is hidden when keeping selecting text below with your mouse or going down with the arrows.

Default p. Style in 12pt


These are just a few with Bookmark Txt inv.1 etc.

Gsuistae, lo gaddtaelaegío, nae tuim aetjui
zetnaecuifoantuigo qea hon pguifotuidae
pnaemotaelaegío y acltuimuiaelaegío:
en combuiae oadtuimca y gaelpao an uim
oes Jeguimn end Hauiguimn, duia zauiguim
acltuimuiol an se santuidae vguidoguimrae:
vuivae, pguiae nae vuivae más yae, suinae 
guimnan batro buimeles guimraen meß: «uiro
praeblamo guim luigo duivaercuioduigo qea
lae praepuiae guim laeg zetmenuidoguims
Paer cuiguitae, tuimto peaguim


2. Pages with only part of a cell: Some pages with cells filling only parts of them
(Last sentence of the text has been pasted here)
Bookmark Lone cell. 1, etc.

Vámmenuiae-Bagruiffs auinguimaegsan.
tuimpuiruiteoluidod duim socjuimantae.
A maedae guim zetnclesuiís
Maduitocuiís duim Jeavtuim Wuintae

16pt.
1: When making the font bigger, the hidden text can be more:, here just a few with default p. Style in 16pt
Bookmark Txt inv.1 etc.

ae guim en maedae
ceguipae, guimspuiguito
praeraeguido. Rui uim
tontae sepguifuicuiol y
zetmae boetuizoduigo, guim qeuiantuim, sagún


2: Some pages with cells filling only parts of them
(Last sentence of the text has been pasted here)
Bookmark Lone cell. 1, etc.

Maduitocuiís duim Jeavtuim Wuintae
Gsuistae, qea o se vaz (in this case, inserting the bookmark made the page format well again). 
uiui. Eecoruistío – Gsuistaelaegío From here on, when clicking the pages became normal. Strange.
aedaeg laeg naerotuim y (bookmark inserted, scroll down beyond this point…)
Comment 5 Daniele 2022-10-21 20:49:26 UTC
Created attachment 183195 [details]
16pt test file

16pt test file
Comment 6 QA Administrators 2022-10-22 04:04:16 UTC Comment hidden (obsolete)
Comment 7 Buovjaga 2023-02-23 08:21:13 UTC
Steps:
1. Open attachment 183195 [details] and let it load properly
2. Open Navigator and double-click any of the Txt inv bookmarks

It's the same look already in 3.5, but I guess we should have steps to reproduce from scratch to be sure.

(In reply to Daniele from comment #5)
> Created attachment 183195 [details]
> 16pt test file
> 
> 16pt test file

With a debug build, I get these warnings in the console:

warn:legacy.osl:45981:45981:sw/source/core/layout/ftnfrm.cxx:659: Next is not FootnoteNext
warn:sw.layout:45981:45981:sw/source/core/layout/wsfrm.cxx:3030: footnote frame on different page than ref frame?

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e4fb37353e2f9f998c028319c5fa083bf3eaa4cc
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 23 February 2023