[Libreoffice-bugs] [Bug 108170] Hyperlinks don't highlight 'Internet Link' entry in character styles list

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Oct 7 13:53:15 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=108170

--- Comment #8 from Rafael Lima <rafael.palma.lima at gmail.com> ---
Created attachment 175571
  --> https://bugs.documentfoundation.org/attachment.cgi?id=175571&action=edit
Output of the UNO Inspector

Still present in LO 7.2.1.2

Version: 7.2.1.2 / LibreOffice Community
Build ID: 20(Build:2)
CPU threads: 16; OS: Linux 5.11; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 1:7.2.1-0ubuntu0.21.04.1~lo1
Calc: threaded

However, I wonder what actually happens internally in LO to apply the "Internet
Link" and "Visited Internet Link" styles to links. It seems to be somehow
hardcoded.

Using the new UNO Inspector (see attached image), notice that the hyperlink
actually has no char style applied. That is why the "No Character Style" option
is selected by default.

If I manually apply a character style to a link, LO sort of merges both
styles... for example, applying the "Emphasis" style to a link makes the link
italic and also applies the color and underline to the text. And now if you
select the text, it shows that the "Emphasis" style is applied.

IMO there are 2 possible outcomes:
1) This is NAB and documentation should highlight this behavior
2) This is indeed a bug and the style name should appear in the CharStyleName
property

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20211007/a329ffd4/attachment.htm>


More information about the Libreoffice-bugs mailing list