Bug 156578 - Problem changing the color of a linked text sting
Summary: Problem changing the color of a linked text sting
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.7.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Hyperlink
  Show dependency treegraph
 
Reported: 2023-08-02 09:43 UTC by Ola Smith
Modified: 2023-08-03 08:33 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
The procedure to reproduce the problem (22.76 KB, application/vnd.oasis.opendocument.text)
2023-08-02 09:46 UTC, Ola Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ola Smith 2023-08-02 09:43:24 UTC
Description:
Pls see enclosed Link.odt file

Steps to Reproduce:
1.See attaced file
2.
3.

Actual Results:
See attached file

Expected Results:
See attached file


Reproducible: Always


User Profile Reset: No

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
Comment 1 Ola Smith 2023-08-02 09:46:47 UTC
Created attachment 188716 [details]
The procedure to reproduce the problem
Comment 2 Stéphane Guillou (stragu) 2023-08-02 12:15:55 UTC
Thank you for the report, Ola.

I tested with:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 47ca3f1f762352b488d58b3bf23d5776576f1cca
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

- Regarding the text changing to blue underline, what happens is that the character style "Internet Link" is automatically applied to a hyperlink, so the replacement of the red colour is expected.
That character style can be modified to change the look of all links, if needed.
(There are also link colour settings in Tools > Options > LibreOffice > Application colours, which could interfere, but those should be off by default.)

- Regarding selecting the two spaces, I can do that without problem.

However, I can reproduce the other issues as you describe them:

a. selecting both links, can't change to any font colour.
b. selecting one link, can change font colour but not to the original Dark Red 2.
c. after attempting to change the colour to Dark Red 2, if I remove the spaces, then add a space again, the two links turn red.
Comment 3 Ola Smith 2023-08-03 08:33:47 UTC
I checked up on issue of selection of the two spaces:

Selection right to left is OK, but when I try left to right the cursor changes from vertical bar to a hand - no selection takes place. Instead the disk icon at left bottom turns red: the document har been changed although it still looks absolutely the same.