[Libreoffice-ux-advise] [Bug 117954] Add name from User data to the Author property of exported PDF

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Oct 7 14:52:44 UTC 2020


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

sdc.blanco at youmail.dk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gtimur at gmail.com,
                   |                            |libreoffice-ux-advise at lists
                   |                            |.freedesktop.org
           Keywords|                            |needsUXEval
         Resolution|NOTABUG                     |---
             Status|RESOLVED                    |REOPENED

--- Comment #12 from sdc.blanco at youmail.dk ---
It is still sort of broken. REOPENING

Three main problems.
1. MUST create document to get Author to appear in PDF properties.
2. Must NEVER save .odt document without "Apply User Data" checked.
3. Must have "Apply User Data" checked - when exporting to PDF

Simple test illustration.
1.  Open New Document
2.  Be sure File - Properties - General - Apply User Data is checked (and
First/Last name is filled in in Tools - Options - User Data)
3.  Export PDF  (see name as Author in PDF properties)
4.  Uncheck Apply User Data
5.  Export PDF  (see no Author in PDF properties)
6.  Check Apply User Data, Export PDF (see Author again)
7.  Uncheck "Apply User Data", and notice also the "Created" field in the same
dialog box, where your user name appears.
8.  Save New Document
9.  Notice that your user name disappears from "Created" in File - Properties -
General
10.  Export PDF with that document will no longer show username in Author of
PDF properties, regardless of whether "Apply user  data" is checked.

Tested with master from today:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: a883002d8e2fd77f80c43b7b2e6ac329d83d929d

>From comparing .fodt files, the critical issue is:
<meta:initial-creator>USERNAME HERE</meta:initial-creator> 

Explanation

a. When you create a new document, meta:initial-creator is created.
b. I believe PDF uses <meta:initial-creator> to populate its author field.
c. Saving to .odt or .fodt without "Apply User Data" checked loses that field,
even if it was initially saved (because "Apply User Data" was checked).
d. Once you save without "apply user data" checked, then the initial-creator
field is lost, without any way at present to get it back. 
(beyond manual editing of .fodt file, as workaround)
e.  This analysis explains all the observations in the test sequence.

In sum:  If you want UserName to appear as Author in PDF files, then, at
present, you (1) MUST create a new document, with Apply User Data checked, and
then (2), then NEVER uncheck it (either when saving the file and/or exporting
to PDF)

Whether called a bug or an enhancement does not matter to me.
If it was the intended design, then it is too fragile.  
I believe the report here identifies the problem clearly. 
Will not try to propose a design solution.

Adding needsUXEval and cc: Timur

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list