Bug 139518 - Unwanted scroll deleting an image
Summary: Unwanted scroll deleting an image
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: Writer-View-Jumps
  Show dependency treegraph
 
Reported: 2021-01-09 19:44 UTC by Telesto
Modified: 2022-08-27 17:10 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (9.65 MB, application/vnd.oasis.opendocument.text)
2021-01-09 19:44 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-01-09 19:44:08 UTC
Description:
Unwanting scroll deleting an image

Steps to Reproduce:
1. Open the attached file
2. Scroll down & zoom in -> so text starts with lorem ipsum and the bottom being Now prepare
3. Delete the gold bordered image

Actual Results:
Scrolls up to top

Expected Results:
Stays put


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+ (x64)
Build ID: f2171af6ce3516598d9f8bac8294025a21a5b1a2
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: nl-NL (nl_NL); UI: nl-NL
Calc: CL
Comment 1 Telesto 2021-01-09 19:44:39 UTC
Created attachment 168800 [details]
Example file
Comment 2 Telesto 2021-01-09 19:46:24 UTC
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 3 mulla.tasanim 2021-01-13 17:20:07 UTC
Thank you for reporting the bug.

I can confirm the bug present in,

Version: 7.0.3.1 (x64)
Build ID: d7547858d014d4cf69878db179d326fc3483e082
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

Version: 7.2.0.0.alpha0+ (x64)
Build ID: 761a672d62df1891b9f4f367a499b220ab2b33fa
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 4 Stéphane Guillou (stragu) 2022-08-26 22:10:43 UTC
I feel this is a WFM in:

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

and

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

and 

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

(I could reproduce the jump up in 6.4.7.2)

Marking as such but please double-check on other systems.
Comment 5 Stéphane Guillou (stragu) 2022-08-27 15:58:13 UTC
To test more consistently, I recommend using the following steps:

1. Open attachment 168800 [details]
2. Scroll down to have just a little bit of the large first picture at the top of the viewport (this is to make sure the first line of Lorem ipsum is entirely in the viewport)
3. Click on the picture with gold border
4. Press Delete on keyboard

Actual Results:

Viewport jumps up to show most of the first large picture.

Expected Results:

Viewport does not move given that the line the cursor is in is already completely visible.

Are Telesto and Mulla talking about the same issue here? I feel like a jump is expected when the line the cursor is in is not (entirely) visible.

I just tested in 7.0.6.2 and it works as expected, according to my description above.

Version: 7.0.6.2
Build ID: 144abb84a525d8e30c9dbbefa69cbbf2d8d4ae3b
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Both versions 6.3.6.2 and 6.4.7.2 have the big, unnecessary jump.

Version: 6.3.6.2
Build ID: 2196df99b074d8a661f4036fca8fa0cbfa33a497
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3; 
Locale: en-AU (en_AU.UTF-8); UI-Language: en-US
Calc: threaded
Comment 6 jcsanz 2022-08-27 17:10:29 UTC
According with the last method of testing:
It works for me as expected, that is the large figure maintain the position in this two versions:

Version: 7.4.0.3 (x64) / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: es-ES
Calc: CL

Version: 7.2.5.2 (x64) / LibreOffice Community
Build ID: 499f9727c189e6ef3471021d6132d4c694f357e5
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: es-ES
Calc: threaded

But it doesn't works properly (the large figure scrolls to show more) in this other version:

Versión: 6.4.7.2 (x64)
Id. de compilación: 639b8ac485750d5696d7590a72ef1b496725cfb5
Subprocs. CPU: 4; SO: Windows 10.0 Build 19044; Repres. IU: predet.; VCL: win; 
Configuración regional: es-ES (es_ES); Idioma de IU: es-ES
Calc: CL