Bug 167682 - DOCX IMPORT: A hyperlink not using Hyperlink character style, and having differently-formatted parts, gets the formatting of the last part
Summary: DOCX IMPORT: A hyperlink not using Hyperlink character style, and having diff...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bisected, filter:docx, regression
Depends on:
Blocks:
 
Reported: 2025-07-27 08:19 UTC by Mike Kaganski
Modified: 2025-07-27 08:52 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Hyperlinks with bold part (2.16 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-07-27 08:19 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2025-07-27 08:19:52 UTC
Created attachment 202017 [details]
Hyperlinks with bold part

Ref: https://ask.libreoffice.org/t/hyperlink-rendering-uses-the-style-of-the-last-run-for-all-runs/124829

Open the attached DOCX. It has a bookmark, and two hyperlinks to that bookmark. The first hyperlink has two parts, one normal and one bold; and it uses Hyperlink character style. The other hyperlink also has these parts, but it doesn't use the Hyperlink character style.

Since commit b56678ae967bb1e09b52930a0b1d59a5e68bb7be (tdf#142133: partially revert 576611895e5, 2024-03-09), the second hyperlink is shown all bold in Writer.