Description: Recently I discovered, while copying from Google Docs document into LibreOffice Writer, the text formatting is lost. Which is something I have been using for years, and it used to work flawlessly. Copying formatted text from gMail though works as it is supposed to. I am using: Version: 7.6.3.1 (X86_64) Build ID: 60(Build:1) CPU threads: 8; OS: Linux 6.6; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded On, Fedora Linux 39. Furthermore, I installed the O20.Word and did the same experiment: copying formatted text from gDocs into the Word-editor (into an .odt file). It worked. Which points out to a problem originating from LibreOffice. Steps to Reproduce: 1. Format some text in gDocs: bold, italic, underline, href-link 2. copy/paste it to LibreOffice, Writer 3. The result is that the formatting is lost. Actual Results: Copy/paste of formatted text use to work until recently. Expected Results: Copy/Paste with formatted text bw. gDocs and LibreOffice Writer. Reproducible: Always User Profile Reset: No Additional Info: n/a
Created attachment 191251 [details] Copy/Paste using alternative Office Writer
Created attachment 191252 [details] Copy/Paste to LibreOffice Writer
I can confirm with Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 55097433ed766a2ced6b87021a71c8a31cde9d99 CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded Works in Version: 7.3.7.2 / LibreOffice Community Build ID: 30(Build:2) CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: cs-CZ Ubuntu package version: 1:7.3.7-0ubuntu0.22.04.3 Calc: threaded
This seems to have begun at the below commit in bibisect repository/OS linux-64-7.6. Adding Cc: to Michael Stahl ; Could you possibly take a look at this one? Thanks 94ff994d396ae38edf4f72215452b4c4b086490d is the first bad commit commit 94ff994d396ae38edf4f72215452b4c4b086490d Author: Jenkins Build User <tdf@pollux.tdf> Date: Wed Oct 25 05:46:44 2023 +0200 source db115bec9254417ef7a3faf687478fe5424ab378 https://git.libreoffice.org/core/+/db115bec9254417ef7a3faf687478fe5424ab378 tdf#78510 sw,cui: split SvxLRSpaceItem for SwTextNode, SwTextFormatColl
Thanks, is it already on the roadmap for bugfixes?
(In reply to someone917 from comment #5) > is it already on the roadmap for bugfixes? It will get looked at when a developer decides to take care of it. Please keep the status at "new" as "needinfo" is only for more information is needed to be able to reproduce the issue. "New" means it is confirmed and waiting for a fix. Public document sample to test: https://docs.google.com/document/d/1jxcGuhVnjtf65WO9pfBbru5GRBCsGQhd2F_HrQCqvtM/edit?usp=sharing Still reproduced in: Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 960e37af28807ed1b376e26c4504ab755a81dfd5 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded Also reproduced on macOS.
Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/ac05822b8957d80018d3ce1cbf97cd9faa0dfe99 tdf#154581 tdf#157411 tdf#158549 sw: HTML import: fix SfxItemIter reuse It will be available in 24.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
reportedly fixed on master
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-24-2": https://git.libreoffice.org/core/commit/d33d3bbd9fb021c9ef15689f4e8e5b9898541e70 tdf#154581 tdf#157411 tdf#158549 sw: HTML import: fix SfxItemIter reuse It will be available in 24.2.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-7-6": https://git.libreoffice.org/core/commit/f6fb5dedc3926ce214560a4053815f692b29b934 tdf#154581 tdf#157411 tdf#158549 sw: HTML import: fix SfxItemIter reuse It will be available in 7.6.8. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-24-2-3": https://git.libreoffice.org/core/commit/9b5b007df580eaeff2bab2fda9a6cb45e3a3bd24 tdf#154581 tdf#157411 tdf#158549 sw: HTML import: fix SfxItemIter reuse It will be available in 24.2.3. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-7-6-7": https://git.libreoffice.org/core/commit/598cc6c5f03bf0aae525e80ae6960de2c78efeae tdf#154581 tdf#157411 tdf#158549 sw: HTML import: fix SfxItemIter reuse It will be available in 7.6.7. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/0479f870e05d5d231d2d57aaeedff11544bd370c tdf#154581 tdf#157411 tdf#158549: sw_htmlimport: Add unittest It will be available in 24.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.