Bug 68827 - PDF Carriage returns copied from Document Viewer, and deleted in Writer, reappear when document is saved in MSWord format.
Summary: PDF Carriage returns copied from Document Viewer, and deleted in Writer, reap...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.7.2 release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-01 23:42 UTC by Leon Arundell
Modified: 2015-04-24 16:18 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
sample pdf with line breaks (10.63 KB, application/pdf)
2013-09-02 03:16 UTC, Brenda Granados
Details
first test case (9.00 KB, application/msword)
2013-09-02 03:16 UTC, Brenda Granados
Details
second test case (9.00 KB, application/msword)
2013-09-02 03:17 UTC, Brenda Granados
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leon Arundell 2013-09-01 23:42:46 UTC
Writer does not display additional carriage return characters, copied from PDF documents in Document Viewer, into MSWord documents being edited in Writer, until the document has been saved and re-opened.

Steps to reproduce:

1. Copy a two-line section of text from a PDF document in Document Viewer (I use Document Viewer 3.4, but I have been experiencing this problem for several years).

2. Paste the text into a Writer document. The text typically displays with one carriage return per line or section of text. (To display carriage returns, select "View > Nonprinting Characters" from the LibreOffice menu.)

3. Convert the text to a single paragraph by deleting the intervening carriage return/s. You can do this by either (a) placing the cursor to the immediate left of the carriage return and pressing the <Delete> key, or (b) placing the cursor at the beginning of the next line and pressing the <Backspace> key.

4. Save the document in Microsoft Word 97/XP format.

5. Reopen the Word document. The deleted carriage returns have reappeared.

The non-displayed carriage returns seem to exist immediately to the left of the carriage returns, as the following procedure shows:

A. Copy a two-line section of text into Writer, from a PDF document in Document Viewer.

B. Place the cursor immediately before the carriage return at the end of the first line, and press the <Backspace> key once only, to delete the non-displayed character. The cursor does not appear to move.

C. Delete the carriage return by pressing the <Delete> key.

D. Save the document in Microsoft Word 97/XP format, close it and reopen it. In this case, the carriage return DOES NOT reappear.
Comment 1 Brenda Granados 2013-09-02 03:16:10 UTC
Created attachment 85037 [details]
sample pdf with line breaks
Comment 2 Brenda Granados 2013-09-02 03:16:36 UTC
Created attachment 85038 [details]
first test case
Comment 3 Brenda Granados 2013-09-02 03:17:00 UTC
Created attachment 85039 [details]
second test case
Comment 4 Brenda Granados 2013-09-02 03:18:57 UTC
Thank you for reporting this issue! I have been able to confirm the issue on:
Version Version 4.0.5.2 (Build ID: 5464147a081647a250913f19c0715bca595af2f)

Platform: Ubuntu Linux 13.04 x64

I have added a test pdf, and the two documents following your first test case scenario, in which the return reappear, and the second test case scenario, in which the carriage returns do not reappear.

+ + + + + + ++ + + + + + ++ + + + + + ++ + + + + + ++ + + + + + ++ + + + + + ++  
As I've been able to confirm this problem I am marking as:

NEW, Medium, Normal

Thank you,

Brenda
Comment 5 QA Administrators 2015-04-01 14:42:22 UTC
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

   *Test to see if the bug is still present on a currently supported version of LibreOffice (4.4.1 or later)
   https://www.libreoffice.org/download/

   *If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior
 
   *If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System

Please DO NOT

   *Update the version field
   *Reply via email (please reply directly on the bug tracker)
   *Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 

1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3)

http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug 
3. Leave a comment with your results. 
4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 
4b. If the bug was not present in 3.3 - add "regression" to keyword


Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa

Thank you for your help!

-- The LibreOffice QA Team This NEW Message was generated on: 2015-04-01
Comment 6 Buovjaga 2015-04-24 16:18:57 UTC
(In reply to Brenda Granados from comment #1)
> Created attachment 85037 [details]
> sample pdf with line breaks

Not reproduced anymore with Document viewer 3.14.2. WFM.

Ubuntu 15.04 64-bit 
Version: 4.4.2.2
Build ID: 40m0(Build:2)
Locale: en_US