Bug 157361 - Pasting hyperlink from MS Word to Impress does not work
Summary: Pasting hyperlink from MS Word to Impress does not work
Status: RESOLVED DUPLICATE of bug 157363
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paste-From-MSO
  Show dependency treegraph
 
Reported: 2023-09-21 11:16 UTC by Gabor Kelemen (allotropia)
Modified: 2023-11-24 16:47 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Word document with hyperlink (14.49 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-09-21 11:16 UTC, Gabor Kelemen (allotropia)
Details
Screenshot of the error (87.35 KB, image/png)
2023-09-21 11:19 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2023-09-21 11:16:47 UTC
Created attachment 189732 [details]
Word document with hyperlink

When copying text that contains a hyperlink from MS Word to Impress, the hyperlink does not get pasted.

1. Open attached document
2. Copy all content
3. Paste it in an empty Impress document
-> "a b" is pasted, the hyperlink is lost.

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.
Comment 1 Gabor Kelemen (allotropia) 2023-09-21 11:19:03 UTC
Created attachment 189733 [details]
Screenshot of the error
Comment 2 Stéphane Guillou (stragu) 2023-10-18 13:16:21 UTC
Not reproduced with MS Office build 2309 (build 16.0.16827.20166) and LO 7.6.2.1.
It pastes an active hyperlink

(More of a side note, for what it's worth: copy-pasting the HTML from Office.com loses the hyperlink but keeps the "Bugzilla" text, because it automatically uses "unformatted text". If one uses Edit > Paste > Paste special > HTML, a separate text box is created and the link survives.

Works as expected when pasted into Writer.)
Comment 3 Gabor Kelemen (allotropia) 2023-11-16 17:15:36 UTC Comment hidden (obsolete)
Comment 4 Gabor Kelemen (allotropia) 2023-11-24 16:47:03 UTC
This works now thanks to the patches in bug 157363 and bug 158294.

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