Salto na visualização da tela quando insere ou edita imagem dentro de texto na visualização de múltiplas páginas

Title: Document view jumps forward several pages when inserting or resizing an image in Multiple Pages view

Environment

  • OS: Windows 11
  • ONLYOFFICE Desktop Editors Community, version 10.0.0.169 (x64, installed via .exe)
  • File format: .docx

Description
When I insert an image in a document while using the Multiple Pages view, the view suddenly jumps several pages ahead in the document, and I lose track of where I was working. The same jump happens when I change the image size via Image Advanced Settings.

In my tests, the issue does not happen in single-page view.

Steps to reproduce

  1. Create a new .docx document with several pages of text and switch to Multiple Pages view.
  2. At the end of a paragraph, press Enter to create a new line.
  3. On that new line, insert an image, using either:
    • copy and paste from the clipboard, or
    • Insert > Image > Image from File
  4. (Alternative) Select an existing image, open Image Advanced Settings, and change its size.

Expected result
The view stays on the page where the image was inserted or resized.

Actual result
The view jumps forward in the document. The jump distance varies: sometimes it is 4–5 pages, other times it goes all the way to the end of the document.

Additional details

  • Reproducible in a new, blank document, so it does not depend on a specific file.
  • Frequency: intermittent; it does not happen every time.
  • Zoom level: changing the zoom has no effect on the issue.
  • Not a recent regression: I have been using ONLYOFFICE for about 10 months, and the issue has been present in previous versions as well.

Workaround found
If I press Enter twice, leaving an empty line between the paragraph and the image, the jump does not seem to happen (based on limited testing).

Impact
My company uses ONLYOFFICE to produce reports. In long documents with many images, such as reports and books, this issue makes editing much slower, since I have to scroll back to the right position after every image.

Attachments
Two videos demonstrating the issue are attached on youtube.
video 1: https://youtu.be/MTw7b-1g-14
video 2: https://youtu.be/YYhiulv4OZM

Thank you for your work on ONLYOFFICE. I really enjoy using it, and I’d be glad to provide any additional information or test files.

Hi @Marcos_Vinicius, welcome to the community!

Thanks for the detailed report. We tried it on our side with Desktop Editors 10.0 in Multiple Pages view, but couldn’t reproduce the jump so far. Could you share:

  1. A short screen recording showing the jump
  2. If possible, a document where it happens (with personal data removed)

Thank you very much for your reply. I’ve recorded it again in a document created with lorem ipsum text to demonstrate the error. I didn’t send it before because the platform didn’t allow new users to upload videos. I also took the liberty of uploading the file I used as a test.

bug-jump-test.docx (78.6 KB)