Bug 157126 - txt output filter omits contents of frame if a section exists elsewhere in the document
Summary: txt output filter omits contents of frame if a section exists elsewhere in th...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Save-Text
  Show dependency treegraph
 
Reported: 2023-09-07 03:45 UTC by Jim Avera
Modified: 2023-09-21 17:04 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
demo_txtout.odt (12.82 KB, application/vnd.oasis.opendocument.text)
2023-09-07 03:45 UTC, Jim Avera
Details

Note You need to log in before you can comment on or make changes to this bug.
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