[Libreoffice-bugs] [Bug 125435] New: LibreOffice PDF export regression -- edit file properties before saving/exporting doesn't work correctly and the PDF isn't opened automatically after export

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue May 21 20:11:07 UTC 2019


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

            Bug ID: 125435
           Summary: LibreOffice PDF export regression -- edit file
                    properties before saving/exporting doesn't work
                    correctly and the PDF isn't opened automatically after
                    export
           Product: LibreOffice
           Version: 6.2.3.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Printing and PDF export
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: joaopauloag-freedesktop at yahoo.com.br

Description:
On Windows 10, version 1809, 64 bits, running LibreOffice 6.2.3.2 (x64), build
ID aecc05fe267cc68dde00352a451aa867b3b546ac, do the following:

* Configure LibreOffice to edit file properties before saving (Menu Tools,
Options, Load/Save, General, enable "Edit document properties before saving").

* Export any saved or unsaved document as a PDF file named as a new file (i.e.,
create a new PDF file instead of overwriting an old one).

* LibreOffice opens an error message box saying (translated from PT-BR):

"Error saving document <name of document without file extension>:
General error.
General input/output error."

* The PDF file isn't automatically opened (Menu File, Export As, Export As PDF,
enable the "View PDF after export").

* Besides the error, the user still can edit the file properties and they will
be saved on the exported PDF (tested with Title, Subject and Keywords fields,
not tested with Custom Properties as they don't appear on SumatraPDF or Evince
Document Viewer).

* If the exported PDF file already exists (i.e., the user chooses to overwrite
an old PDF file), there is no error shown and the PDF files is automatically
opened if the setting to "View PDF after export" is enabled.

I think this is due to the file properties being opened for the PDF file
**before** the file is created.

There is no __confirmed__ data loss (I didn't test with Adobe Reader or other
PDF viewers which could show custom properties), but this is is annoying.

Steps to Reproduce:
1. Configure LibreOffice to edit file properties before saving (Menu Tools,
Options, Load/Save, General, enable "Edit document properties before saving").

2. (Optional) Configure LibreOffice to open the PDF file after export (Menu
File, Export As, Export As PDF, enable the "View PDF after export").

3. Export any saved or unsaved document as a PDF file named as a new file
(i.e., create a new PDF file instead of overwriting an old one).

4. LibreOffice opens an error message box saying (translated from PT-BR):

"Error saving document <name of document without file extension>:
General error.
General input/output error."

5.a) If Step 2. was completed: The PDF file isn't automatically opened.

5.b) With or without Step 2. completed: If the exported PDF file already exists
(i.e., the user chooses to overwrite an old PDF file), there is no error shown
and the PDF files is automatically opened if the setting to "View PDF after
export" is enabled.

6. Besides the error, the user still can edit the file properties and they will
be saved on the exported PDF (tested with Title, Subject and Keywords fields,
not tested with Custom Properties as they don't appear on SumatraPDF or Evince
Document Viewer).

Actual Results:
Actual results: There is no __confirmed__ data loss (I didn't test with Adobe
Reader or other PDF viewers which could show custom properties), but this is is
annoying.

Expected Results:
Expected results:

1. No error shown when exporting PDF if editing properties before saving file
was enabled.

2. Automatically open the PDF file if view PDF after export was enabled.


Reproducible: Always


User Profile Reset: No



Additional Info:
I marked version 6.2.3.2 release as the earliest version affected because I
didn't test on earlier versions. I think it's a regression from version 
6.1.5.2, as it was the latest I had before upgrading to 6.2.x line.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190521/3f29091a/attachment-0001.html>


More information about the Libreoffice-bugs mailing list