Bug 130056 - Hyperlink format overridden by direct formatting when converting .ODT to .DOC/DOCX
Summary: Hyperlink format overridden by direct formatting when converting .ODT to .DOC...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:doc, filter:docx, preBibisect, regression
Depends on:
Blocks: DOC
  Show dependency treegraph
 
Reported: 2020-01-17 14:12 UTC by yoddle
Modified: 2025-04-04 03:11 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Bugged file (11.41 KB, application/vnd.oasis.opendocument.text)
2020-01-22 21:28 UTC, yoddle
Details
130056_hyperlink.odt: made from scratch example. (13.80 KB, application/vnd.oasis.opendocument.text)
2021-04-03 19:14 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yoddle 2020-01-17 14:12:37 UTC
Description:
Add any hyperlink to a text component in .ODT (hotkey: ctrl+K) will correctly make text blue and underline it.

Once converting to .DOC (via save as..), closing the document, and reopening it as the .DOC file, loses the hyperlink color and underline.

Steps to Reproduce:
1. CTRL+K add hyperlink to text in .ODT file
2. save as.. .DOC
3. close document
4. open .DOC document

Actual Results:
no underline nor blue color for hyperlink

Expected Results:
underline and blue color


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Xisco Faulí 2020-01-17 16:54:19 UTC Comment hidden (obsolete)
Comment 2 yoddle 2020-01-22 21:28:04 UTC
Created attachment 157345 [details]
Bugged file

This is extremely weird, I couldn't reproduce it easily..

I removed the most data I could but for some reason changing some of the text might cause the bug to disappear and the text to be formatted correctly. I really have no clue whats going on.

Either way, try to save the file I attached as .DOC, close the file, then open the .DOC file created and the bug appears.
Comment 3 Buovjaga 2020-05-01 18:08:05 UTC
Regression, but sadly not bibisectable as it appeared between 3.3.0 and 3.5.0

Arch Linux 64-bit
Version: 7.0.0.0.alpha0+
Build ID: 23ddc3811d4d1890e4024f4e0f6bb5129a694fdc
CPU threads: 8; OS: Linux 5.6; UI render: default; VCL: kf5; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 30 April 2020
Comment 4 Justin L 2021-04-03 19:06:12 UTC
Also true when exporting this document to DOCX.

In DOCX, direct formatting overrides the Internet Link character style.
<w:rStyle w:val="InternetLink"/>
<w:color w:val="000000"/>
<w:u w:val="none"/>

So, this must be a difference in implementation, where LO allows Internet Formatting to override direct formatting.
Comment 5 Justin L 2021-04-03 19:14:51 UTC
Created attachment 170940 [details]
130056_hyperlink.odt: made from scratch example.

a.) Insert a hyperlink
b.) Apply some direct formatting. An "Internet Link" character style by itself IS overridden, but not (usually) when it is controlled by a hyperlink.
Comment 6 QA Administrators 2023-04-04 03:23:23 UTC Comment hidden (obsolete, spam)
Comment 7 QA Administrators 2025-04-04 03:11:05 UTC
Dear yoddle,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug