Bug 140738 - VIEWING: Vertical shift of text during selection after scrolling
Summary: VIEWING: Vertical shift of text during selection after scrolling
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:
: 142260 (view as bug list)
Depends on:
Blocks: Kerning
  Show dependency treegraph
 
Reported: 2021-03-01 16:52 UTC by tuefue
Modified: 2022-11-24 18:55 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot (20.46 KB, image/png)
2021-03-01 16:52 UTC, tuefue
Details
Test document (27.92 KB, application/vnd.oasis.opendocument.text)
2021-03-01 16:53 UTC, tuefue
Details
Screencast (2.33 MB, video/mp4)
2022-01-17 11:05 UTC, Telesto
Details
Screenshot (269.20 KB, image/jpeg)
2022-11-18 15:24 UTC, Telesto
Details
Screencast (6.50 MB, video/mp4)
2022-11-18 15:31 UTC, Telesto
Details
Screencast (1.33 MB, video/mp4)
2022-11-18 15:42 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tuefue 2021-03-01 16:52:05 UTC
Created attachment 170153 [details]
Screenshot

Problem description:
If you scroll document and then start selecting text, then the selected text moves down or up by a few pixels (see attached screenshot). In the screenshot, the artifact is clearly visible on the letters "m" and "p" from the sides of the selection (marked with red arrows).

Steps to reproduce:
1. Open test document (see attachment).
2. Scroll the document with the mouse wheel so that the 4th paragraph is in the middle of the screen. It is important to scroll very fast and without pauses.
3. Start text selecting by mouse in one line somewhere in the 4th paragraph.
4. Observe shifting of the selected text.

Comments:
The bug is not always reproduced, for this reason it may be necessary to repeat the steps described above several times. Better to reproduce in version 7.1.0.3.

This bug appears with any other scrolling methods, but the proposed steps provides greater reproducibility.

Changing document zoom can affect the reproducibility of the bug.

It seems that the bug's reproducibility depends on the processor speed. Looks like the bug reproduces worse on slow processors...

In some older versions, the entire document screen is refreshed after the first mouse click on the text, this leads to “jumping” of entire lines at once.
Comment 1 tuefue 2021-03-01 16:53:29 UTC
Created attachment 170154 [details]
Test document
Comment 2 Oksana Ivanova 2021-08-03 21:21:34 UTC
no repro in

Windows 7

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ac80ec817eb07c77a51bc0729985a473c734182e
CPU threads: 8; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: en-US (ru_RU); UI: en-US
Calc: CL
Comment 3 Diana 2021-08-04 06:30:40 UTC
no repro in

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ac80ec817eb07c77a51bc0729985a473c734182e
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL
Comment 4 Telesto 2021-08-04 08:39:10 UTC
I do see the shift
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 2a151d1d5bc055d5e0011460b6ec42ea9f34f880
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (nl_NL); UI: en-US
Calc: CL

And have seen happening once in a whole for long time :-(. Pretty sure it's in 4.3.7.2 too (MacOS)
Comment 5 Telesto 2021-08-04 08:43:24 UTC
*** Bug 142260 has been marked as a duplicate of this bug. ***
Comment 6 Telesto 2022-01-17 11:03:06 UTC Comment hidden (obsolete)
Comment 7 Telesto 2022-01-17 11:05:36 UTC Comment hidden (obsolete)
Comment 8 Telesto 2022-01-17 11:17:14 UTC Comment hidden (obsolete)
Comment 9 Caolán McNamara 2022-01-17 13:23:48 UTC Comment hidden (obsolete)
Comment 10 Telesto 2022-01-17 15:30:46 UTC Comment hidden (obsolete)
Comment 11 Telesto 2022-08-21 07:47:36 UTC
Still present
Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: c1c8ce3b0f1037bca4d500af2f39363cd9d38db6
CPU threads: 8; OS: Mac OS X 12.3.1; UI render: Skia/Metal; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 12 Stéphane Guillou (stragu) 2022-11-18 13:21:55 UTC
I can't reproduce with:

Version: 7.4.2.3 (x64) / LibreOffice Community
Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: threaded

Or:

Version: 7.4.2.3 / LibreOffice Community
Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

The related Bug 149322 was recently fixed (for LibreOffice 7.4.4 and 7.5). Could you please test to see if you can still see the issue you describe, using a recent development build available here: https://dev-builds.libreoffice.org/daily/master/current.html
Thank you!
Comment 13 Telesto 2022-11-18 15:24:15 UTC
Created attachment 183666 [details]
Screenshot

There is still some glitch, technically not that the original report, though..
Problem: I lack reproducible steps...

Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a81e957f5026373f3935390c786c21416fc74fcc
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 threaded
Comment 14 Telesto 2022-11-18 15:31:12 UTC
Created attachment 183667 [details]
Screencast
Comment 15 Telesto 2022-11-18 15:42:00 UTC
Created attachment 183668 [details]
Screencast

@Caolán,
There is still some painting glitch or new painting glitch introduced since bug 149322 got fixed.

It triggered by dragging the horizontal scrollbar slowly to the right and slowly back to the left. I preset the left mouse button the entire time. See screencast.

Dragging the scrollbar with large movements seems OK, it occurs when scrolling slowly back and forward

Also present in:
Version: 7.3.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 229123ccc6f90ebf66b3e659bebbd53f8a9bdd3a
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 16 Caolán McNamara 2022-11-23 20:16:51 UTC
I'm hoping that problem is the same as the one just fixed in bug 145491 I see the same overlap of cursor and first glyph in this screencast as I saw in that problem.
Comment 17 Telesto 2022-11-24 18:55:57 UTC
(In reply to Caolán McNamara from comment #16)
> I'm hoping that problem is the same as the one just fixed in bug 145491 I
> see the same overlap of cursor and first glyph in this screencast as I saw
> in that problem.

Confirm, problem is gone!
Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 651658d37bcb3f493942dd5d0b9a0d65c96f105c
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 threaded