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

            Bug ID: 98215
           Summary: EDITING: copy/paste of words from one doc to another
                    changes text paragraph style
           Product: LibreOffice
           Version: 5.1.0.3 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 123021
  --> https://bugs.documentfoundation.org/attachment.cgi?id=123021&action=edit
Screen grab of original text on left, and the changes made on the right

I'm copying some text with an associated comment from one paragraph of style
"Text Body" in one document into a paragraph of style "Text Body" in another
document.

The words copied, and sometimes the following sentence as well, changes from
Text Body style to Default Text style.

I think it is an error to change the paragraph style of text that you copy,
when that text is less than a whole paragraph (in the latest example, it was a
single word and the full stop after it, at the end of the paragraph).

I also think it's an error to change the text from the paragraph style that it
was formatted with (Text Body) into another style (Default paragraph).

In both documents, Text Body is defined (I believe) the same, with the same
pacing above and below, and same font and font size.

It just happened again, and if you look closely you'll also see that it has
changed the font size of the text immediately following the text which I copied
over the top of (this is in the right hand side document).  In other words, it
changed the style of some text that had not even been selected!  If you look at
the font size part of the UI, you'll see that it has changed the font style
from Times New Roman 14 pt to Times New Roman 12 pt.  The only 12pt text I'm
aware of is the 12pt Liberation Serif used in the source document - and of
course the text which the paste has now changed into TNR 12.

Selecting the whole paragraph shows that the paragraph style is "Default
Style".  Changing this back to "Text Body" corrects the errors introduced by
the paste.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to