Bug 69565 - FORMATTING: cannot remove underlining or change color of hyperlinks
Summary: FORMATTING: cannot remove underlining or change color of hyperlinks
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Hyperlink
  Show dependency treegraph
 
Reported: 2013-09-19 09:45 UTC by Ernestas Lukoševičius
Modified: 2023-10-09 09:02 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Test file for reproducing the bug (11.03 KB, application/vnd.oasis.opendocument.text)
2013-09-19 09:45 UTC, Ernestas Lukoševičius
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ernestas Lukoševičius 2013-09-19 09:45:07 UTC
Created attachment 86126 [details]
Test file for reproducing the bug

Issue in short:
in some documents I am unable to remove underlining for hyperlinks and change font color without extra steps to avoid the bug.

Steps to reproduce:
1. Open the attached file.
2. Select "Gentoo" word and try to remove underlining - WORKS.
3. Change color to black - DOES NOT WORK. Instead of making the word black, it makes it blue and underlined again.
4. Make the same text italic - now it works as expected.
5. Hit Ctrl+I again and you can see that it is only now what I was supposed to get in step 3.
Comment 1 Dominique Boutry 2013-10-18 13:51:43 UTC
Reproduced with LibO 4.1.2.3 on Win7

Deals with direct formatting :
- select the whole line, Ctrl-m to remove direct styles : after that, it works
- Writer seems confused by the multiple formats applied to the word "Gentoo" : the format of the underlying paragraph component, the character formats attached to the status of "hyperlink entry" and the formats (color, underline, etc) that the user try to apply to the word.

Bug.
Comment 2 Ernestas Lukoševičius 2013-10-19 16:15:49 UTC
Shouldn't this be marked as confirmed by now?
Comment 3 Ernestas Lukoševičius 2013-10-20 17:27:16 UTC
OpenOffice.org also has this bug: 
https://issues.apache.org/ooo/show_bug.cgi?id=123220
Comment 4 Björn Michaelsen 2014-01-17 00:43:39 UTC Comment hidden (obsolete)
Comment 5 Joel Madero 2015-05-02 15:41:08 UTC Comment hidden (obsolete)
Comment 6 Ernestas Lukoševičius 2015-05-03 10:23:34 UTC
Still present on version 4.4.2.2 on ArchLinux
Comment 7 Kumāra 2016-04-29 03:33:59 UTC
Still (annoyingly) present in 5.1.1.3. (Much thanks to Ernestas for reporting and for showing a workaround.)

For most people who likely wouldn't even think there's a workaround, it's a major accessibility issue when you need to use a dark background.
Comment 8 QA Administrators 2018-08-22 02:37:46 UTC Comment hidden (obsolete)
Comment 9 Kumāra 2018-08-27 03:51:36 UTC
Still the same.
Comment 10 shani 2018-11-29 08:40:56 UTC
Still exists in version  6.3.0.0.alpha0+ (x64)
Comment 11 evanyen 2018-11-29 08:42:05 UTC
Still exists in version
Version: 6.3.0.0.alpha0+ (x64)
Build ID: 0f25a3c36f27fd51453b9a9115f236b83c143684
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-11-27_20:06:55
Locale: zh-TW (zh_TW); UI-Language: en-US
Calc: threaded
Comment 12 ZhenQizhi 2018-11-29 08:42:43 UTC
Still exists in version.

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 0f25a3c36f27fd51453b9a9115f236b83c143684
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-11-27_20:06:55
Locale: zh-TW (zh_TW); UI-Language: en-US
Calc: threaded
Comment 13 Greg 2019-03-20 17:33:59 UTC
Exists in v6.1.4.2
OS Windows 7
Comment 14 Rachel. P 2020-12-01 11:56:42 UTC Comment hidden (spam)
Comment 15 Kumāra 2020-12-02 02:26:36 UTC
(In reply to Ernestas Lukoševičius from comment #0)
> 2. Select "Gentoo" word and try to remove underlining - WORKS.

Unless I'm missing something, what you say here seems to contradict what's on the Summary: "cannot remove underlining".
Comment 16 Ernestas Lukoševičius 2020-12-02 09:23:10 UTC
(In reply to Kumāra from comment #15)
> (In reply to Ernestas Lukoševičius from comment #0)
> > 2. Select "Gentoo" word and try to remove underlining - WORKS.
> 
> Unless I'm missing something, what you say here seems to contradict what's
> on the Summary: "cannot remove underlining".

You're missing other steps. Please read the whole ticket. Other steps explain where we cannot remove underlining. This step is important in setting up the right environment for reproducing the bug.

How would you suggest to summarize this ticket then?
Comment 17 Kumāra 2020-12-03 08:33:29 UTC
(In reply to Ernestas Lukoševičius from comment #16)
> (In reply to Kumāra from comment #15)
> > (In reply to Ernestas Lukoševičius from comment #0)
> > > 2. Select "Gentoo" word and try to remove underlining - WORKS.
> > 
> > Unless I'm missing something, what you say here seems to contradict what's
> > on the Summary: "cannot remove underlining".
> 
> You're missing other steps. Please read the whole ticket. Other steps
> explain where we cannot remove underlining. This step is important in
> setting up the right environment for reproducing the bug.
> 
> How would you suggest to summarize this ticket then?

I understand this is a bit complicated. Now here's something to complicate the matter further.

Firstly, I followed your steps having created a link in *my own file*, and strangely my Libo 6.0.4.2 (x64) acted perfectly fine. IOW, whatever I do, the link did not revert to the standard "hyperlink look". (Let me add that that I'm here because I had faced the same issue.)

Then I tested on your test file. It happened as you said. I copied your text to my own file. Same. BUT, if I change the colour to something other than black, Libo acts perfectly fine. Please try it.

Something perhaps worth mentioning: If after step 3 you try to removing the underlining the standard way, nothing happens.
Comment 18 QA Administrators 2022-12-04 03:51:23 UTC Comment hidden (obsolete)
Comment 19 Stéphane Guillou (stragu) 2023-08-02 22:59:55 UTC
Reproduce in recent master build:

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

(In reply to Kumāra from comment #17)
> BUT, if I change the colour to something other than
> black, Libo acts perfectly fine. Please try it.

Also observed in bug 156578 comment 2 : if the font colour applied is _not_ the original one (before the hyperlink formatting was applied), it behaves as expected.