Bug 159952 - Unwanted Scrolling to document centre when editing inline OLE math objects in Writer
Summary: Unwanted Scrolling to document centre when editing inline OLE math objects in...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest
Depends on:
Blocks:
 
Reported: 2024-02-29 06:10 UTC by riley.aft
Modified: 2024-02-29 19:13 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example (4.63 MB, application/vnd.oasis.opendocument.text)
2024-02-29 19:05 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description riley.aft 2024-02-29 06:10:23 UTC
Description:
When editing Math OLE objects in large >40 page documents in Writer, the view scrolls to the centre of the document. It's worth noting that swapping from multi-page view to single-page view also scrolls to the centre of the document.
Removing the config lines listed below fix the issue, however only while in single-page view. Compared to as before, where even single page view also carries the issue.
As the file with the issue is quite large, it is linked here: https://1drv.ms/u/s!AoYsSr_u9khPgoB7wix3M__rKPWEjA?e=SUgG51
A video of the problem occurring is here: https://imgur.com/a/B64yn5j
The offending config lines are here: https://pastebin.com/raw/ERLq4Uu6

Steps to Reproduce:
1. Include the given lines to the "registrymodifcations.xcu" config file
2. Open >40 Page file with >20MB of data
3. Edit Math inline OLE object (anchored as text) below the halfway mark of the document
4. Profit.

Actual Results:
The viewer of LibreOffice Math scrolls ~midway of the document, showing an unrelated portion of the document. This happens upon entering and exiting the math editor. OLE objects above the halfway mark are unaffected.

Expected Results:
The viewer should instead maintain the view originally from Writer, as it does from midway-upwards.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: 420(Build:3)
CPU threads: 12; OS: Linux 6.7; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-CA (en_CA.UTF-8); UI: en-US
24.2.0-2
Calc: CL threaded
Comment 1 Telesto 2024-02-29 19:05:15 UTC
Created attachment 192874 [details]
Example

1. Open the attached file in multi-page view
2. Scroll to bottom. 
3. Double click on a formula to open the formula editor 

Result
View jumps to the middle of the page
Comment 2 Telesto 2024-02-29 19:13:36 UTC
Found in
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 125fc2ce861c82592b261f2992c893b414396e56
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

and in
Versie: 4.4.7.2 
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL

and in
Versie: 4.1.0.4 
Build ID: 89ea49ddacd9aa532507cbf852f2bb22b1ace28

fine with
Versie 4.0.0.3 (Bouw-id: 7545bee9c2a0782548772a21bc84a9dcc583b89)

However, it does jump with 4.0.0.3 eventually when switching from multi-page view to single page view after double clicking the formula. So it might be even older