Bug 138918 - Red underline squiggle line hiatus when parts of misspelt word formatted differently
Summary: Red underline squiggle line hiatus when parts of misspelt word formatted diff...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Spell-Checking
  Show dependency treegraph
 
Reported: 2020-12-14 21:25 UTC by Telesto
Modified: 2023-06-07 13:23 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (8.48 KB, application/vnd.oasis.opendocument.text)
2020-12-14 21:25 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-12-14 21:25:33 UTC
Description:
Red underline squiggle line hiatus when when highlighting part of word

Steps to Reproduce:
1. Open the attached file
2. Zoom at 100%-120%
3. Select "tional"
4. Highlight it yellow.. notice the 'underline' changing waves 

It also causes shifting moving letters depending in zoom-level between 100-170% (but no clue if this VCL floating point topic).. so the wave distortion maybe related to.. or highlighting (and other formatting) is somehow affecting rendering'

So painting again/calculating starting at starting point of the change. Which is is in the middle of word in this case.. Should be less noticeable if this would happen at an empty space.. (space-bar area). This would at minimum mask the flawed better.. 

But needs someone with actual knowledge about this kind of thing :P

And yes, this topic kind of the area who cares. But still see it as a discrepancy with the superb situation

Actual Results:
The is break in the line at left where highlighting starts (but dependent on zoom level, zoom out and it's more noticeable) 

Expected Results:
Don't see any reason for the interruption the waves


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+ (x64)
Build ID: 35e471bb4d1388cf5afcdcee214cf5111edf44e3
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2020-12-14 21:25:45 UTC
Created attachment 168168 [details]
Example file
Comment 2 Dieter 2020-12-30 11:00:00 UTC
I can confirm it with

Version: 7.0.4.2 (x64)
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: threaded

"Addetional" is underlind after opening and underlining of "tional" changes after highlighting.

I can't confirm it with master ("Addetional" isn't underlined after opening. But as far as I know master doesn't include spell checking by default. That might be the explanation.
Comment 3 Stéphane Guillou (stragu) 2023-06-07 13:23:11 UTC
Confirmed on Linux with:

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

Also in OOo 3.3, so inherited.

Issue also happens with other formatting, like bolding part of the word. And in other components, like Calc.