Bug 124296 - Writer: Link underscore disappears on edit
Summary: Writer: Link underscore disappears on edit
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.6.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: notBibisectable, regression
Depends on:
Blocks: Hyperlink Character
  Show dependency treegraph
 
Reported: 2019-03-23 17:15 UTC by Ola Smith
Modified: 2023-10-24 20:42 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
Test sample for error (8.37 KB, application/vnd.oasis.opendocument.text)
2019-03-23 17:17 UTC, Ola Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ola Smith 2019-03-23 17:15:16 UTC
Description:
Normally when I link a text it gets _underlined_. Yet when I attempt to change something - color or edit - in that text, the underlining disappears. 

Pls use attached Sample.odt

(6.0.7.3 is the latest version currently available on Kubuntu)

Steps to Reproduce:
1.Use enclose sample, select "2" 
2.<ctrl>-K
3.add a letter to "2", e.g. "2a"
4.Clicjk "Apply"
5.see underline disappear

Actual Results:
_2_ becomes 2a

Expected Results:
_2_ becomes _2a_


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 2019-03-23 17:17:44 UTC
Created attachment 150236 [details]
Test sample for error
Comment 2 Dieter 2019-03-24 11:43:51 UTC Comment hidden (no-value)
Comment 3 Telesto 2019-03-24 13:44:07 UTC
Repro with
Version: 6.3.0.0.alpha0+
Build ID: bbf9b65f91e8136fa1a2e17960944b8720f5d58e
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-03-15_09:56:33
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL

and with 4.4.7.2

no repro with
LibreOffice 3.5.7.2 
Build ID: 3215f89-f603614-ab984f2-7348103-1225a5
Comment 4 raal 2019-03-25 22:07:00 UTC
repro Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 5 Aron Budea 2020-01-19 12:08:53 UTC
Bibisected to the following range using repo bibisect-43all:
https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=43c7830b03d141ae11d8617c0fdabefa32dd243c..ce97851773a06103504972eb2771eecd7dd81e36

Since the range is huge, between 2011-12-13 and 2013-02-06 (these are two consecutive commits in the bibisect repo), thus not useful, I'm marking this as notBibisectable.
Comment 6 Andreas Heinisch 2021-11-25 09:21:28 UTC
I am not sure wether this is a bug or not. The Text "2" is underlined using Strg+U. After opening the hyperlink dialog and applying the new text, any text style will be deleted. For instance, the same happens with any other style (bold, italic, strike through etc.)
Comment 7 Kira Tubo 2023-10-24 20:42:10 UTC
Reproduced in: 

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1ec2e39cf4d5fe0a592bc783fd8bcdc4345c8cbd
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Interestingly, this is only reproducible if the link is first word in the line. If the link is sandwiched in between words, for example, the issue is not reproducible.