Bug 157746 - Multi-column text frame in footnote at end of document will not wrap or break text to the second column
Summary: Multi-column text frame in footnote at end of document will not wrap or break...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Footnote-Endnote Frame
  Show dependency treegraph
 
Reported: 2023-10-13 18:37 UTC by William Friedman
Modified: 2024-03-23 19:05 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Video demonstrating the problem (2.72 MB, video/webm)
2023-10-13 18:54 UTC, William Friedman
Details
File where you can see the problem (11.06 KB, application/vnd.oasis.opendocument.text)
2023-10-13 18:59 UTC, William Friedman
Details
Before (43.57 KB, image/png)
2023-10-18 20:45 UTC, bianca.chiorean
Details
After (67.58 KB, image/png)
2023-10-18 20:45 UTC, bianca.chiorean
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Friedman 2023-10-13 18:37:39 UTC
Description:
I have created a two-column text frame for a footnote. When footnotes are set to "end of page," it works perfectly -- text flows from the left column to the right column at the end of the frame. But when I set footnotes to "end of document," the text only stays in the left most column, and will not wrap to the next column, nor does a manual break work.

Steps to Reproduce:
1. Go to Tools | Footnotes and Endnotes | Footnotes. Select position: end of page. Click OK.
2. Insert a footnote.
3. Insert | Frame | Frame | Position and size. Check relative to entire paragraph area. Width: 100%.
3. Go to the Columns tab. Select "2 columns with equal size." Click ok.
4. Type a character in the first column. Hit enter. It should wrap to the second column, or insert a manual column break. Type another character.
5. Notice that the text wraps properly.
6. Go to Tools | Footnotes and Endnotes | Footnotes. Select position: end of document. Hit OK.
7. Notice that the text that wrapped is now back in the first column. Adjust the height of the frame and notice that the text never wraps, no matter how small you make it. Try to insert a manual column break between the two characters. Note that nothing happens.

Actual Results:
Text remains stuck in the left column.

Expected Results:
Text should move to the right column.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 1 William Friedman 2023-10-13 18:54:58 UTC
Created attachment 190199 [details]
Video demonstrating the problem

Here is a video demonstrating the problem. (My apologies for the weird format, but it does open in VLC.)
Comment 2 William Friedman 2023-10-13 18:59:22 UTC
Created attachment 190200 [details]
File where you can see the problem

Here also is the file I used to test. You can see the problem by switching between Footnote position "end of page" and "end of document."

A few more things:

* I tried it for endnotes, and the send problem happens. (I guess the title description should be broader.)

* In the video I set the frame to anchor "as character" but using the other settings doesn't affect the problem.
Comment 3 ajlittoz 2023-10-15 15:11:22 UTC
Could it be related to the various limitations met in Endnotes?

Endnotes page style cannot be configured for multi-column (setting is ignored). Also page breaks are ineffective.
Comment 4 bianca.chiorean 2023-10-18 20:45:05 UTC
Created attachment 190285 [details]
Before
Comment 5 bianca.chiorean 2023-10-18 20:45:33 UTC
Created attachment 190286 [details]
After
Comment 6 bianca.chiorean 2023-10-18 20:47:56 UTC
Hello William, I was able to reproduce the bug using the steps you described, also on MacOS: 

Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 8; OS: Mac OS X 14.0; UI render: Skia/Metal; VCL: osx
Locale: en-US (en_RO.UTF-8); UI: en-US
Calc: threaded


Besides your steps I did some further investigations that might be helpful for having a better overview of this bug.  (The following tests except the last one, were executed on the configurations listed above)

1. Instead of ‘Relative to Entire paragraph area’ width (step 3)
   a. I did set it to ‘Relative to Entire page with an 80% percentage  ->  The 
      behavior was the same 
   b. I also left the ‘Relative to’ unchecked -> the result was the same  
   c. And I also checked the AutoSize checkbox and created the Frame in that way - 
      > The behavior was the same —> Which means that these variables(‘Relative 
      to’ and ‘AutoSize’) are not influencing the results nor does the value of 
      the width. 

2. I did try to reproduce the bug with a Frame that has 3 columns instead of two -> The behavior was the same -> Any number of columns greater than one returns the same result 

3. I added data in both columns before changing the Position of the Footbar from ‘End of the Page’ to ‘End of the Document’ and what I observed was that the data from column2 is transferred on a new row to the colum1, and even if the cursor is able to go to column 2 area, once the user types some characters, the characters are displayed in column 1 so the column 2 becomes unusable and the frame acts like it has just one column even if 2 columns can be seen. Please check the screenshot attached. ('Before', 'After')

4. Regarding the documentation, I read the Footnote & Endnote chapter but I couldn’t find anything related to the Footnotes having any limitations on Frames. The documentation that I read can be found at this link: https://documentation.libreoffice.org/assets/Uploads/Documentation/en/WG7.6/WG76-WriterGuide.pdf

5. Tried to reproduce the bug on other types of documents in LibreOffice (Calc Spreadsheet, Impress Presentation, Draw Drawing, Math Formula and Base Database) but none of them offers the possibility of adding a footnote or a frame so the bug is Writer Document specific

6. I wanted to see if this issue is a new one or it can be found also on older versions of the app and it seems like it can be reproduced also on version:
6.4.5.2  - 2020 —--> So it doesn’t seem to be a new issue. I also tried older versions (4.0.0.1, 5.0.0.1 and 6.0.0.1 but they are not compatible with my OS and the app didn’t open so I can’t say if the issue is not older than 6.0.0.1)


Hope my additions are helpful and let me know if something is unclear and needs clarification.
Comment 7 William Friedman 2023-10-19 16:37:04 UTC
Bianca, thank you. I think you now need to set the bug status as "new", right? (We're not supposed to change the status of our own bugs.)