Bug 78697 - Copy-Paste in Windows from PDF changes the document's properties
Summary: Copy-Paste in Windows from PDF changes the document's properties
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.4.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paste
  Show dependency treegraph
 
Reported: 2014-05-14 11:39 UTC by Marc Wuillemin
Modified: 2016-09-26 22:55 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
sample document (8.68 KB, application/vnd.oasis.opendocument.text)
2014-05-29 06:33 UTC, Yousuf Philips (jay) (retired)
Details
sample file after pasting from pdf (24.75 KB, application/vnd.oasis.opendocument.text)
2014-05-29 06:36 UTC, Yousuf Philips (jay) (retired)
Details
before paste document properties (53.82 KB, image/jpeg)
2014-05-29 06:37 UTC, Yousuf Philips (jay) (retired)
Details
after paste document properties (100.57 KB, image/jpeg)
2014-05-29 06:38 UTC, Yousuf Philips (jay) (retired)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Wuillemin 2014-05-14 11:39:21 UTC
When copying and pasting text from certain PDF files to a Writer document, Writer changes the document's creation date, creator name as well as title, subject and keywords (if present) to that of the PDF file.

Steps to reproduce:

1. Open writer, type some text and save the file. See the document's properties for correct "Created" date and author name and "Modified" date and author name.

2. Open a PDF document with Adobe Reader, select a passage and press CTRL+C to copy.

3. Go to the Writer document and press CTRL+V to paste the passage.

4. See the Writer document's properties for changed "Created" date, author as well as title, subject and keywords (if present).


I tested in Win7 64bit with LO 4.2.4.2 release and Adobe Reader 11.0.06.
The phenomenon also appears in Windows Vista 32bit with LO 4.2.4.2 release and Adobe Reader 9.5.5.

It does not happen with Calc.

Also, it does not happen with a different PDF viewer, for example SumatraPDF v2.4.

And it does not happen with all PDF files. An example of a PDF file that triggers the phenomenon is the Intel SSD Toolbox Release Notes document:
http://downloadmirror.intel.com/18455/eng/Intel_SSD_Toolbox_Release_Notes_Rev3_2_1_325993_017.pdf
Comment 1 Marc Wuillemin 2014-05-15 08:06:26 UTC
I just tested with OpenOffice 4.1.0, and the problem does not happen.
Comment 2 Yousuf Philips (jay) (retired) 2014-05-29 06:31:38 UTC
Can confirm it on Windows 7, LibO 4.2 and Adobe 11, thought its not reproducible with Linux Mint, LibO 4.2 and Adobe Reader 9.
Comment 3 Yousuf Philips (jay) (retired) 2014-05-29 06:33:25 UTC
Created attachment 100074 [details]
sample document
Comment 4 Yousuf Philips (jay) (retired) 2014-05-29 06:36:28 UTC
Created attachment 100075 [details]
sample file after pasting from pdf
Comment 5 Yousuf Philips (jay) (retired) 2014-05-29 06:37:38 UTC
Created attachment 100076 [details]
before paste document properties
Comment 6 Yousuf Philips (jay) (retired) 2014-05-29 06:38:03 UTC
Created attachment 100077 [details]
after paste document properties
Comment 7 QA Administrators 2015-06-08 14:42:36 UTC Comment hidden (obsolete)
Comment 8 Marc Wuillemin 2015-06-08 15:13:35 UTC
Bug is still present in LO 4.4.3.2, Windows 7 64bit.
Comment 9 QA Administrators 2016-09-20 10:01:48 UTC Comment hidden (obsolete)
Comment 10 Marc Wuillemin 2016-09-23 14:46:33 UTC
Bug is not present in LibreOffice 5.2.1.2, Windows 7 64bit.