Bug 145975

Summary: LibreOffice write, paste from another document overwrites destination's formatting
Product: LibreOffice Reporter: fpouw
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INSUFFICIENTDATA    
Severity: normal CC: dgp-mail
Priority: medium    
Version: 7.1.4.2 release   
Hardware: All   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description fpouw 2021-11-30 20:16:35 UTC
Description:
When I cut and paste from another document, the source's formatting overwrites the destination's. I would expect the default to be to for the software to update the pasted text's format to match the destination's style and Paste Special to have an option to "Retain source document's formatting"
It seems there isn't an option on Paste Special which allows me to do this and the only work-around I can find is to paste the text, change the Paragraph Style to something else (e.g. Title) and then back to Text Body. 

Steps to Reproduce:
1. Create two odt documents with different styles (font, size etc)
2. Cut and paste from one to the other
3. Note how destination document is now "contaminated" with the wrong style

Actual Results:
My destination document is formatted to Text Body: Liberation Serif 12 pt
The following line is pasted from a destination document…
This is the source Text Body: Liberation Sans 12 pt. 

Expected Results:
My destination document is formatted to Text Body: Liberation Serif 12 pt
The following line is pasted from a destination document…
This is the source Text Body: Liberation Sans 12 pt updated to Liberation Serif 12 pt
[not that you can see the formatting in a text box :) ]


Reproducible: Always


User Profile Reset: No



Additional Info:
n/a
Comment 1 Dieter 2021-12-16 06:21:52 UTC
Please make sure, that you paste your text as "unformatted text". If that doesn't work, please retest in SafeMode (Help -> Restart in SafeMode to make sure, that the problem isn't caused by a corrupt user profile). Does this solve your problem?

=> NEEDINFO
Comment 2 QA Administrators 2022-06-15 03:41:33 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2022-07-16 03:54:18 UTC
Dear fpouw,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp