Bug 140740 - VIEWING: Horizontal shift of some letters when underlining, highlighting, or changing text color
Summary: VIEWING: Horizontal shift of some letters when underlining, highlighting, or ...
Status: RESOLVED WORKSFORME
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: Highlight-Color Kerning
  Show dependency treegraph
 
Reported: 2021-03-01 17:13 UTC by tuefue
Modified: 2022-08-21 07:41 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot (22.12 KB, image/png)
2021-03-01 17:13 UTC, tuefue
Details
Test document (9.43 KB, application/vnd.oasis.opendocument.text)
2021-03-01 17:14 UTC, tuefue
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tuefue 2021-03-01 17:13:56 UTC
Created attachment 170156 [details]
Screenshot

Problem description:
There is an unexpected horizontal shift of some letters further down the line when underlining, highlighting, or changing text color (see attached screenshot). In the screenshot, shifted letters are marked with red arrows.

Steps to reproduce:
1. Open test document (see attachment).
2. Select "vitae rutrum nibh euismod."
3. Underline, highlight or change text color.
4. Observe horizontal shift of some letters.

Comment:
The effect depends on the document zoom.
Comment 1 tuefue 2021-03-01 17:14:34 UTC
Created attachment 170157 [details]
Test document
Comment 2 Dieter 2021-03-20 05:47:11 UTC
I can't confirm it with

Version: 7.1.2.1 (x64) / LibreOffice Community
Build ID: 094b4116e8de6d2085e9b65d26912d6eac4c74a9
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Tuefue, are you using the most recent version of LO? Could you please paste informations from Help => About LibreOffice? Thank you
=> NEEDINFO
Comment 3 tuefue 2021-03-20 11:28:34 UTC
Yes, I am using the most recent version of LO (Under openSUSE Tumbleweed Linux). 

Version: 7.1.1.2 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 12; OS: Linux 5.11; UI render: default; VCL: kf5
Locale: en-US (ru_RU.UTF-8); UI: ru-RU
Calc: threaded
Comment 4 tuefue 2021-03-20 11:39:49 UTC
I just noticed that there is a version newer than 7.1.1.2. I have not tested it under 7.1.2.1.
Comment 5 QA Administrators 2021-03-21 04:18:40 UTC Comment hidden (obsolete)
Comment 6 Telesto 2021-07-12 09:31:46 UTC
It does
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 0fc020fb73c86a20608e8dff12af607e60327379
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 7 Telesto 2021-07-12 09:40:53 UTC
@Noel
Me being really opportunistic here [so feel free to skip] The moving of character is pretty - understatement - annoying. And assuming this to being caused by SwpHints::MergePortions 

1. Open test document (see attachment).
2. Select "vitae rutrum nibh euismod."
3. Underline, highlight or change text color.
4. Observe horizontal shift of some letters.
5. Press CTRL-Z/CTRL+Y/CTRL+Z/CTRL=Y plenty of times make the wiggling more apparent 

Similar bug 138919 with slightly more 'impact'

However not sure if there is a quick fix within the current logic
Comment 8 Telesto 2022-01-17 11:23:37 UTC
Good news, the dancing glyphs issue is finally resolved
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 52443996eff721e612ac4afc1eb1a53bb8a3e06f
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

However only in development versions (for now)
https://dev-builds.libreoffice.org/daily/master/current.html