Bug 144277 - setting a hyperlink changes the character size
Summary: setting a hyperlink changes the character size
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-03 02:10 UTC by TorrAB
Modified: 2021-09-03 14:53 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
file with 2 paragraphs (13.56 KB, application/vnd.oasis.opendocument.text)
2021-09-03 02:10 UTC, TorrAB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description TorrAB 2021-09-03 02:10:15 UTC
Created attachment 174752 [details]
file with 2 paragraphs

In BMa.odt, aa has size 24pt. Select it, insert hyperlink to xa (bookmark ma). aa size changes to 12. Why?
Now, ^click aa to go to xa; original size of aa is restored! Except that the End-of-paragraph symbol has a wrong size.
Comment 1 V Stuart Foote 2021-09-03 11:56:37 UTC
check settings for character styles -- 'Internet Link' and 'Visited Internet Link' -- which you've applied by creating a Hyperlink pointing to the bookmark.

Adjust their size to match the formatting applied to default paragraph and they won't resize.
Comment 2 TorrAB 2021-09-03 14:53:01 UTC
(In reply to V Stuart Foote from comment #1)
> check settings for character styles -- 'Internet Link' and 'Visited Internet
> Link' -- which you've applied by creating a Hyperlink pointing to the
> bookmark.
> 
> Adjust their size to match the formatting applied to default paragraph and
> they won't resize.

OK. But, this is weird and unexpected.
● Why apply InternetLink style where Internet is not involved?
● Adjusting by-hand the LinkStyle to match the local one (as to size or other parameters) is impractical and contrary to the style concept.
	Suggestion: if LinkStyle definition is Organizer>InheritFrom>None, then the Font tab should be absent from the characterStyle dialogue; only FontEffects should be available to characterize a link. (Similarly, under Tools>ChapterNumbering/numbering, setting characterStyle to None will match the corresponding heading characterStyle.)