| Summary: | Imported docx file from MS Office doesn't show/render hyperlinks (removing direct formatting makes the links visible) | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | janvdberg |
| Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED NOTABUG | ||
| Severity: | normal | CC: | cno, dennisroczek, ilmari.lauhakangas, janvdberg, jluth, octallo, vasily.melenchuk |
| Priority: | medium | Keywords: | filter:docx |
| Version: | Inherited From OOo | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=43017 | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 104520 | ||
| Attachments: | Docx document with 2 hyperlinks that are not rendered | ||
|
Description
janvdberg
2015-11-25 12:18:19 UTC
Hi Jan, Thanks for filing the bug! I confirm the problem in a daily build (Version: 5.1.0.0.alpha1+ Build ID: f6bc5b79c31225c02e9500d0ced4bd26f998f82b Threads 2; Ver: 4.2; Render: default; TinderBox: Linux-rpm_deb-x86@71-TDF, Branch:master, Time: 2015-11-24_01:06:34 Locale: nl-NL (nl_NL.UTF-8) ) but also in earlier versions, among which LibreOffice 3.3.0. So it's not a new problem. When you select the area where the hyperlinks are and choose Format > Remove direct formatting (or hit Ctrl+M), then the hyperlinks appear :) Is this with all docx files (from this source) that you know? Ciao - Cor Hi! Thanks for the 'workaround' tip. This confirms the links are there! I can't really say if its from all documents from this source, usually he shares doc/pdf files. Jan Place the cursor at the start of the word "Wanneer". Hit the left arrow key twice to move it right before the dot. Hit Shift+Left. This will select the hyperlink. Choose "Format ยป Character..." from the menu bar and go to the "Font Effects" tab. You will notice the "Hidden" attribute selected. This is why the hyperlinks are not shown. Maybe the "hidden" attribute is set as direct formatting and that's why Ctrl+M clears it and makes the hyperlink reappear. The question is, why did the hyperlink get imported into LibO as hidden? Word 2003 is also unable to see the hyperlinks. Seems related to bug 43017. Document contains bookmarks, but they are marked as hidden (w:vanish attribute in DOCX/content.xml file). MS Word 2010 by default does not displays these hyperlinks. Only when I toggle "Show / hide formatting marks" I see hidden text (as all hidden text it is with dotted underline). I've checked document with LibreOffice 5.4.0.3, LibreOfficeDev 6.0 (b6295268ea42525c8e7e64328c1216c598dda2fd): hyperlinks are not displayed by default in both cases. LibreOffice button "Toggle Formatting Marks" does not shows hidden text by default. However, if I enable it (toggle checkbox in "Tools" -> "Options" -> "LibreOffice Writer" -> "Formatting Aids" -> "Hidden Text") I will see these hidden hyperlinks exactly as in MS Word 2010. My conclusion: not a bug. |