Bug 1324476

Summary: Export to pdf does not respect link color settings
Product: Red Hat Enterprise Linux 7 Reporter: Petr Šplíchal <psplicha>
Component: libreofficeAssignee: Caolan McNamara <caolanm>
Status: CLOSED NOTABUG QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: dtardon, ohudlick
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-11 08:24:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Petr Šplíchal 2016-04-06 12:19:51 UTC
Description of problem:

When a document is exported to PDF format, links are always
rendered with their default colors, regardless the user settings.

Version-Release number of selected component (if applicable):
libreoffice-writer-4.3.7.2-5.el7_2.1.x86_64

Steps to Reproduce:
1. Select some text, ctrl-k, insert link, Apply, Close
2. Go to Menu, Tools, Options, LibreOffice, Appearance
3. Choose red color for (un)visited links, hit OK
4. Export document to pdf, view it.

Actual results:
Link in blue.

Expected results:
Link in red.

Comment 1 David Tardon 2016-04-06 12:51:50 UTC
These settings are for LibreOffice itself, not for a document. If you want some links in a specific color, use a character style.

Comment 2 Petr Šplíchal 2016-04-11 07:24:38 UTC
What do you mean by "for LibreOffice itself"? It changes the link
color inside documents and I believe LibreOffice is supposed to be
WYSIWYG. This is definitely not the case. In addition, the same
works just fine in LibreOffice Impress so it would make sense to
have the behaviour consistent across LibreOffice applications.

Comment 3 David Tardon 2016-04-11 08:24:22 UTC
(In reply to Petr Šplíchal from comment #2)
> What do you mean by "for LibreOffice itself"? It changes the link
> color inside documents

No. It _does not_ change the link color inside documents. It changes the
way LibreOffice presents links.

> and I believe LibreOffice is supposed to be
> WYSIWYG. This is definitely not the case.

WYSIWYG has never worked that way. There are two kinds of stuff that the user sees: stuff that is part of the document and stuff that helps the user to work with the document (page border marks, table frames, gray background of fields, spell checker underlines, nonprintable characters etc.). The link color belongs to the latter category too.

> In addition, the same
> works just fine in LibreOffice Impress so it would make sense to
> have the behaviour consistent across LibreOffice applications.

So this is a bug that should be fixed.

Comment 4 Petr Šplíchal 2016-04-18 07:56:45 UTC
Thanks for clarification. But, well, what's the point of that
option anyway? Why would a user want to change the way how the
links are displayed? I find this feature very very confusing.

Comment 5 David Tardon 2016-04-18 08:25:47 UTC
I suppose it was either a result of feature creep or an a11y concern (to allow color-blind people to set better recognizable colors). The former seems more likely.