Bug 138967 - Document scrolls when zooming into document with (large) image selected
Summary: Document scrolls when zooming into document with (large) image selected
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks: Writer-View-Jumps
  Show dependency treegraph
 
Reported: 2020-12-16 09:36 UTC by Telesto
Modified: 2023-08-05 15:54 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file (128.63 KB, application/vnd.oasis.opendocument.text)
2020-12-16 09:37 UTC, Telesto
Details
Sample (82.46 KB, application/vnd.oasis.opendocument.text)
2023-07-29 17:55 UTC, Telesto
Details
Screencast (1.06 MB, image/gif)
2023-07-31 19:46 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-12-16 09:36:49 UTC
Description:
Document scrolls when zooming into document with (large) image selected

Steps to Reproduce:
1. open the attached file
2. Zoom in so scrollbars appear
3. Scroll bottom
4. Select the image
5. CTRL+SCROLLWHEEL

Actual Results:
Jumps to top

Expected Results:
Zoom in at current position


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+ (x64)
Build ID: 15e4427e8fb56a143caa28b8a3120f3761fc77a5
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-16 09:37:00 UTC
Created attachment 168214 [details]
Example file
Comment 2 Telesto 2020-12-16 09:37:46 UTC
Also in
Versie: 4.4.7.2 
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL
Comment 3 Dieter 2021-07-11 07:17:06 UTC
I confirm it with

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 949658028e722e5d2657b503eb20e16e41dbd8cf
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL
Comment 4 QA Administrators 2023-07-12 03:14:33 UTC Comment hidden (obsolete)
Comment 5 Dieter 2023-07-29 15:24:35 UTC
Retested with

Version: 7.6.0.1 (X86_64) / LibreOffice Community
Build ID: 776eaf34564cbf3f034a0ba1fd1d5c32ff9ccf1c
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded


Same result with any image of any size

Steps:
1. Select an image
2. Zoom in

Actual result:
At the end focus is on left top corner of the image.

So at least no jump and therefore I mark it as RESOLVED WORKSFORME. Telesto, feel free to change it back to NEW with a short resoning, if you disagree.
Comment 6 Telesto 2023-07-29 17:52:51 UTC
Still repro
1. Open the attached file
2. Select the image
3. Zoom in to say 220% with CTRL+Scrollwheel
4. Scroll page to bottom
5. Zoom in even more with CTRL+SCROLLWHEEL or by using the zoom slider -> View jumps
Comment 7 Telesto 2023-07-29 17:55:00 UTC
Also in
Versie: 4.2.0.4 
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71

and in
Versie 4.0.0.3 (Bouw-id: 7545bee9c2a0782548772a21bc84a9dcc583b89)

fine with
LibreOffice 3.5.7.2 
Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b
Comment 8 Telesto 2023-07-29 17:55:34 UTC
Created attachment 188646 [details]
Sample
Comment 9 Dieter 2023-07-31 18:32:02 UTC
(In reply to Telesto from comment #8)
> Created attachment 188646 [details]
> Sample

Still can't see a jump here. Is it possible for you to add a screencast?
Comment 10 Telesto 2023-07-31 19:46:02 UTC
Created attachment 188682 [details]
Screencast

Zoom will function as expected if the image is unselected. If you have selected the image, and zoom-in, it jump will occur
Comment 11 Dieter 2023-08-05 15:54:29 UTC
Telesto, you're right. I must have tested with some different steps. Sorry for confusion. Still present in

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 42f0422d19c4d0a2fb09654fb6d1d92e50f6dd5c
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

wit steps from comment 0