Created attachment 189736 [details] Example file from PP When copying text that contains a hyperlink from PowerPoint to Impress, only the text is copied and not the link target. 1. Open attached file in PowerPoint 2. Copy the text from either textbox 3. Paste it in an empty Impress document. -> The link text is copied, but it's not linked anymore. Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: beaea2e992912b4747d790070b26371f557b1f57 CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: en-US (hu_HU); UI: en-US Calc: threaded Seems to work like this since 3.3
Created attachment 189737 [details] Screenshot of the error
Reproduced with MS Office build 2309 (build 16.0.16827.20166) and LO 7.6.2.1.
The URL is missing because PowerPoint doesn't paste the link into the RTF part of the clipboard. It is just a text. "...{\b\f1\cf1\lang1033 a }{\b\ul\f1\cf1\lang1033 Bugzilla}{\b\f1\cf1\lang1033 }{\b\f1\cf1\lang1033 b}..." But it adds HTML to the clipbard but Impress does not support HTML here. The same applies to text boxes in calc and writer.
Oliver Specht committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/87be89ac27023f48f68a873b37df31aa0453d6fa tdf#157363 add HTML format when pasting into draw text It will be available in 24.2.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.
Oliver Specht committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/5ed0646dffab1563337ef4c1ae34a4ebfa69bdbe tdf#157363 remove pre text when pasting simple HTML It will be available in 24.2.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.
Created attachment 190878 [details] PP and Impress in current nightly after paste Verified with current nightly: Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 5fe2bf914c251009ec4709fa8fdc45c3b53f676b CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: default; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: threaded The text part of the hyperlink is now inserted, but the reference part is not. Manually selecting the pasted text and choosing Insert - Hyperlink works, a working hyperlink can be created this way. Pasting the PP clipboard content into another PP / Word / Excel window also creates a hyperlink (but loses font name and size settings), matching that could be a reasonable user expectation. Paste Special in these puts "HTML Format" to the top of the list, so they probably use that by default. When pasting into Writer or Calc it is possible to choose the "Stripped HyperText Markup Language (Simple HTML)" or "HTML format without comments" options from the Paste buttons dropdown (these are missing in Impress), these retain the hyperlink, but not the character formatting. "Rich text formatting (RTF)" in Writer / Calc on the other hand is consistent with Impress: font name and size formatting is kept, but the hyperlink is lost. All in all, I think it would be better to implement HTML paste option in Impress, and possibly prefer that by default instead of RTF.
Oliver Specht committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/418af212a7f506784d88f5a7a7800140f4f9dd30 tdf#157363 remove HTML prefix always It will be available in 24.2.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.
There was a bit of misunderstanding, documented in bug 158294. With that being solved, the paste from PP to Impress both works and is easily discoverable in the Paste dropdown buttons menu.
*** Bug 157361 has been marked as a duplicate of this bug. ***