https://bugs.documentfoundation.org/show_bug.cgi?id=160848

            Bug ID: 160848
           Summary: Writer "convert-to pdf" is now outputting
                    unsuppressable debug lines
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
(soffice --headless --convert-to pdf:writer_pdf_Export --outdir /tmp
FILENAME.rtf) >/dev/null 2>&1

when called from within a BASH script now produces output such as:
convert /tmp/IV-ms9756.rtf as a Writer document -> /tmp/IV-ms9756.pdf using
filter : writer_pdf_Export

This output was always present, but used to be suppressed by >/dev/null 2>&1
- but this no longer (since LO 24.x ?) has any effect.

The output is not necessarily in the Gnome-terminal tab that the command is
running in - may be in the tab in which LO was first called??

When called from the command line, it does not appear to produce this output;
and on first call from the script also I have not *seen* such output.

Is it now on a different output from STDOUT and STDERR ??

When running without the redirections, and from the command line, I get:
$ (soffice --headless --convert-to pdf:writer_pdf_Export --outdir /tmp
IV-ms9756.rtf)
convert /tmp/IV-ms9756.rtf as a Writer document -> /tmp/IV-ms9756.pdf using
filter : writer_pdf_Export
Overwriting: /tmp/IV-ms9756.pdf

>From the script, with the redirections, this output is not suppressed.
Before LO 24.x it used to be.
If the output is in a different Terminal tab, it's not a problem,
but if it outputs to the current tab it messes the screen considerably.

I can't give an easy way to reproduce atm, though I'll try to rejig my script
appropriately...
In the meantime, I hope the output messages give a clear indication of what's
going wrong!




Steps to Reproduce:
1.Run my script - but I need to make this uploadable
2.
3.

Actual Results:
convert /tmp/IV-ms9756.rtf as a Writer document -> /tmp/IV-ms9756.pdf using
filter : writer_pdf_Export
in current Terminal tab, or in another

Expected Results:
None - the output should be suppressed with ./dev/null 2>&1


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Ubuntu package version: 4:24.2.2~rc2-0ubuntu0.22.04.1~lo1
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to