Bug 156612 - Copy and paste from HTML to Writer looses formatting
Summary: Copy and paste from HTML to Writer looses formatting
Status: RESOLVED DUPLICATE of bug 154581
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.0.0 beta1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2023-08-04 15:31 UTC by blank15927
Modified: 2023-08-10 09:04 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Test file (7.56 KB, text/html)
2023-08-04 15:32 UTC, blank15927
Details

Note You need to log in before you can comment on or make changes to this bug.
Description blank15927 2023-08-04 15:31:37 UTC
Description:
Windows 11 Pro
Copy and paste from HTML to Writer looses formatting

Steps to Reproduce:
Open the attached HTML file
You'll see 3 paragraphs with some words in italic or bold or underline.

Copy the whole content.

Open a new document in LO Writer 7.5.5.2
Paste.
All formatting is retained - Good.

Repeat in 7.6.0.0 beta.
All formatting is gone. Odd enough, only underline is retained.
Same thing in 7.6.0.1
Same thing in 7.6.0.2

So something went wrong between 7.5.5.2 and 7.6.x

Actual Results:
Formatting lost

Expected Results:
Formatting retained


Reproducible: Always


User Profile Reset: No

Additional Info:
Keep all formatting
Comment 1 blank15927 2023-08-04 15:32:13 UTC
Created attachment 188774 [details]
Test file
Comment 2 Stéphane Guillou (stragu) 2023-08-10 09:04:38 UTC
Thank you very much for the report!

Reproduced in:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 42364fbfafaa95773c073cc080142b64ec1786fb
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

And:

Version: 7.6.0.2 (X86_64) / LibreOffice Community
Build ID: 41d6f628ba3f046f16b5fa9fa8db8d4c2ab3b582
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

But not in:

Version: 7.5.5.2 (X86_64) / LibreOffice Community
Build ID: ca8fe7424262805f223b9a2334bc7181abbcbf5e
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

I just checked and it's the same cause as regression in bug 154581. I'm marking as a duplicate, and will expand the scope there.

*** This bug has been marked as a duplicate of bug 154581 ***