Bug 150775

Summary: Adding footnotes conflicts with columns (document specific?)
Product: LibreOffice Reporter: csongor
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INSUFFICIENTDATA    
Severity: minor CC: dgp-mail, hossein
Priority: medium    
Version: 7.4.0.3 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103164, 107836    
Attachments: footnotes confuse the columns. Removing footnotes fixes the layout.

Description csongor 2022-09-04 13:25:34 UTC
Created attachment 182199 [details]
footnotes confuse the columns. Removing footnotes fixes the layout.

I have a document with alternating 1-column and 3-column sessions. When I add a footnote to the first 3-column part, a couple of problems occur:

1. The next 1-column session is pushed to the next page and cannot bring it back.
2. The footnote is also broken into columns rather than stretching over the whole page width
3. The multicolumn text uses only one long column instead of distributing between the columns.

Here is the initial text before adding footnotes:

TITLETITLETITLE 1
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
TITLETITLETITLE 2
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
---- next page --------
TITLETITLETITLE 3
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa



After adding footnotes:

TITLETITLETITLE 1
aaaaaaaaaa 
aaaaaaa1 a 
aaaaaaaaaa 
aaaaaaaaaa 
aaaaaaaaaa
aaaaaaaaaa
aaaa2 aaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
^
|
|
(big gap here)

|
|
v
1:............    
...............   
2:..............
.................
---- next page --------
TITLETITLETITLE 2
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
TITLETITLETITLE 3
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa


And here is what I expected:

TITLETITLETITLE 1
aaaaaaaaaa  aaaaaaaaaa aaaaaaaaaa
aaaaaaa1 a  aaaaaaaaaa aaaaaaaaaa
aaaaaaaaaa  aaaa2 aaaa aaaaaaaaaa
aaaaaaaaaa  aaaaaaaaaa aaaaaaaaaa
TITLETITLETITLE 2
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
1:...........................   
2:...............................
---- next page --------
TITLETITLETITLE 3
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa
aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa

Note: this bug is the extension of Bug #98287 describing more aspects of the bug and shows an easier-to-understand illustration in the attachment.
Comment 1 Dieter 2022-09-21 06:30:18 UTC
Thank you for reporting the bug. I can reproduce it with your document, but not in a new document.

Steps:
1. Open attachment 182199 [details]
2. Insert a new section with three columns and insert some text in first column
3. Insert footnote in first column

Actual result:
Section expands to the bottom of the text and footnote is added to column

Expected result:
Section doesn't change height and footnote is at normal position. This is also the actual result with steps 2 and 3 in a new document.

Additional information
Doesn't happen if section has only one column.

Version: 7.4.1.2 (x64) / LibreOffice Community
Build ID: 3c58a8f3a960df8bc8fd77b461821e42c061c5f0
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

Csongor, could you confirm the findings and can you explain it? Is there something special with your document?
=> NEEDINFO
Comment 2 QA Administrators 2023-03-21 03:25:36 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2023-04-21 03:27:33 UTC
Dear csongor,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp