Bug 157126

Summary: txt output filter omits contents of frame if a section exists elsewhere in the document
Product: LibreOffice Reporter: Jim Avera <jim.avera>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: minor CC: ilmari.lauhakangas
Priority: medium    
Version: 3.5.0 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 108597    
Attachments: demo_txtout.odt

Description Jim Avera 2023-09-07 03:45:36 UTC
Description:
$ libreoffice --convert-to txt FILE.odt

If FILE.odt contains a frame with text inside it, and also contains an unrelated 2-column section on the same page, then the text in the frame does not appear in the resulting .txt file.

However if there is no section present in the document then the text in the frame does appear in the .txt file

(I don't know whether it matters if the section is 2-column or not)

Steps to Reproduce:
1. Download the attached demo_txtout.odt
2. run the shell command:  libreoffice --convert-to txt /path/of/dump_textout.odt


Actual Results:
The resulting .txt file omits the "COMMON FAMILY NAMES" text at the top of the document.

However, if the 2-column section is deleted, then the text conversion does include the heading block.

Expected Results:
.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 78d9d0d8dccb6fd8952435b8a13d525c7606f467
CPU threads: 12; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Jim Avera 2023-09-07 03:45:57 UTC
Created attachment 189401 [details]
demo_txtout.odt
Comment 2 Jim Avera 2023-09-07 03:48:19 UTC
FYI, to remove the 2-column section, click Format->Sections and select the section (it's the only one), then click "Remove".
Comment 3 Buovjaga 2023-09-21 17:04:09 UTC
Already seen with 41max and oldest of 43all Linux bibisect repo

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