Bug 156518 - selected/copy/paste loses some formatting
Summary: selected/copy/paste loses some formatting
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.7.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-29 14:45 UTC by Tracey
Modified: 2023-09-07 16:15 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
original text (54.82 KB, application/vnd.oasis.opendocument.text)
2023-07-29 14:46 UTC, Tracey
Details
copy of text (56.23 KB, application/vnd.oasis.opendocument.text)
2023-07-29 14:47 UTC, Tracey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tracey 2023-07-29 14:45:51 UTC
Description:
selected/copy/paste looses other font styles.

Steps to Reproduce:
1.Select text with different fonts and copy
2.Open new ODT
3.Paste text and save.

Actual Results:
some format lost

Expected Results:
same fonts


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.4.7.2 (x64) / LibreOffice Community
Build ID: 723314e595e8007d3cf785c16538505a1c878ca5
CPU threads: 2; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 1 Tracey 2023-07-29 14:46:36 UTC
Created attachment 188640 [details]
original text
Comment 2 Tracey 2023-07-29 14:47:14 UTC
Created attachment 188641 [details]
copy of text
Comment 3 Tracey 2023-07-29 14:48:08 UTC
Missing liberation serif font.
Comment 4 m_a_riosv 2023-07-30 00:07:10 UTC
I can't see the difference in a new file.
What's exactly copied?
What's the format lost?
Comment 5 Tracey 2023-08-02 15:43:25 UTC
3:6: "was"
Liberation Serif - Torah 1.3.odt

Liberation Sans - Torah 1.3 ctrlA ctrlC newODT ctrlV ctrlS

This is just one example.
Thanks, Tracey
BTW I copied from an ODT document where Sans was 14pt and Serif was 12pt, but the 14pt was lost also.
Normally when I have font format issues I just save it as an RTF, "manually" make the necessary changes/updates, then re-open and re-save as ODT
Comment 6 m_a_riosv 2023-08-02 23:55:47 UTC
Reproducible, but works fine after Menu/Help/Restart in Safe Mode.
Version: 7.6.0.1 (X86_64) / LibreOffice Community
Build ID: 776eaf34564cbf3f034a0ba1fd1d5c32ff9ccf1c
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded

And works fine with development version
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2a9e83a673300dfe15a3acc66acd560b2a7cae43
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: default; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
Comment 7 Buovjaga 2023-09-07 16:15:30 UTC
(In reply to m.a.riosv from comment #6)
> Reproducible, but works fine after Menu/Help/Restart in Safe Mode.
> Version: 7.6.0.1 (X86_64) / LibreOffice Community
> Build ID: 776eaf34564cbf3f034a0ba1fd1d5c32ff9ccf1c
> CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL:
> win
> Locale: es-ES (es_ES); UI: en-US Calc: CL threaded

Based on this, I will close.

Tracey: look into resetting your user profile https://wiki.documentfoundation.org/UserProfile#Resolving_corruption