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

            Bug ID: 167136
           Summary: Cannot export .odg file to a PDF file.  PDF files are
                    all corrupted
           Product: LibreOffice
           Version: 25.2.3.2 release
          Hardware: Other
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 201382
  --> https://bugs.documentfoundation.org/attachment.cgi?id=201382&action=edit
Test .odg file to duplicate the problem

LibreOffice 24.2.4.3 (x86_64)
See below for system details

Cannot export .odg file to a PDF file.  The PDF is created, but it is
corrupted.  After creation, upon opening it, the size is 37.4 MB, while the
original .odg file is only 3267 KB.

I see numerous problems.  The original problem was that only the highlighted
page would be included in the PDF.  Thereafter, more problems appeared in my
many iterations trying to create the PDF, as described below.

1.  Regardless of what pages I highlight in the "Pages" pane, only the first
page is properly formed in the resulting PDF created.  The other pages are
blank except for a strange icon (see attached screen grabs).

2.  I cannot "Print... to File" The result is the same:  a PDF is created, but
only the first page is correct.  The other pages have only the same strange
icon on them.

I followed the instructions on this page:
https://wiki.documentfoundation.org/UserProfile#Default_locations

According to the information in the section "Help wizard (LibreOffice 5.3 and
newer)" I do not have a corrupted user profile.  That is, I entered Safe Mode
and opened the .odg file in question.  Trying to create a PDF by 1)  menu bar
button and, 2) "Print to File..." dialog created the same malformed PDF file.

According to the page above, which says "If the problem persists, you can exit
the safe mode because the user profile was not the cause of the problem." I do
not have a corrupted user profile.

Additional symptoms are as follows.  Immediately after opening any corrupted
PDF file created from the .odg file using Okular, my computer's fan starts
spinning at maximum speed.  Upon terminating Okular, the okular process does
not terminate but persists indefinitely until I kill it from the bash command
line.

Additionally, baloo_file_extr starts running and continues running
indefinitely.  If I kill it from the command line, it restarts.  This might be
related to my having upgraded my system with "dnf update" which included the
new KDE desktop. 

I also tried creating a PDF from the same source .odg file on a Windows 7
laptop running the same version of LibreOffice.  I got the same resulting
corrupted PDF files every time.

I suspect that the problem is one of the following (but I'll just let you
debug):
1.  corrupted .odg file
2.  other LibreOffice bug in PDF creation logic
3.  arbitrary Linux system problem (shared object, library, etc?)

I consider this a very a serious problem as I can not print my .odg files to
PDF for distribution.

The details of my Linux system are as follows:

NAME="Fedora Linux"
VERSION="42 (KDE Plasma Desktop Edition)"
RELEASE_TYPE=stable
ID=fedora
VERSION_ID=42
VERSION_CODENAME=""
PLATFORM_ID="platform:f42"
PRETTY_NAME="Fedora Linux 42 (KDE Plasma Desktop Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:42"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/";
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f42/system-administrators-guide/";
SUPPORT_URL="https://ask.fedoraproject.org/";
BUG_REPORT_URL="https://bugzilla.redhat.com/";
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=42
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=42
SUPPORT_END=2026-05-13
VARIANT="KDE Plasma Desktop Edition"
VARIANT_ID=kde

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

Reply via email to