Bug 101932 - VIEWING: Document canvas view jumps after deleting an object (picture, frame)
Summary: VIEWING: Document canvas view jumps after deleting an object (picture, frame)
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: low trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Images Writer-View-Jumps Frame
  Show dependency treegraph
 
Reported: 2016-09-06 12:54 UTC by Thomas Lendo
Modified: 2022-02-03 15:49 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example of a text document with pictures, where the view jumps (here: upside) after deleting a picture or picture frame (28.85 KB, application/vnd.oasis.opendocument.text)
2016-09-06 12:54 UTC, Thomas Lendo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Lendo 2016-09-06 12:54:32 UTC
Created attachment 127173 [details]
Example of a text document with pictures, where the view jumps (here: upside) after deleting a picture or picture frame

After deleting an object (e.g. picture or frame with picture), the view of the Writer page on screen jumps to another position.

In the attached test file, the view jumps upside.

I've another document (not attached) with a template that was originally made with OOo 2.x long ago. In that document, the view jumps to the end of the document since upgrading from LibO 4.x to 5.x.

Test case:
* Open the attached document.
* Scroll a little bit down on the first page or go to the second page.
* Delete one of the objects in the center of the page.
* The view is jumping upside some lines.

Expected behavior:
The view of the Writer page shouldn't move anywhere after doing anything, that only affects an object that fits in the view. The mouse cursor should stay in the same line in which the deleted object was anchored.

It's annoying for the user when the program does anything not expected.
Comment 1 Buovjaga 2016-09-28 19:17:20 UTC
Repro.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.3.0.0.alpha0+
Build ID: 7cf444454c0c27e2f6d764164ea880b87163f45a
CPU Threads: 8; OS Version: Linux 4.7; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on September 27th 2016

Arch Linux 64-bit
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 2 QA Administrators 2018-10-03 02:54:04 UTC Comment hidden (obsolete)
Comment 3 Thomas Lendo 2018-10-03 11:18:43 UTC
Still reproducible.

Version: 6.2.0.0.alpha0+ (x64)
Build ID: 89a60912bba7ffd6f65ea99f4664f343c5025c95
CPU threads: 8; OS: Windows 10.0; UI render: GL; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-10-01_03:18:33
Locale: de-AT (de_AT); Calc: CL
Comment 4 QA Administrators 2019-10-04 03:05:19 UTC Comment hidden (obsolete)
Comment 5 Thomas Lendo 2019-10-12 20:01:15 UTC
Still repro with Version: 6.3.2.2 (x64)
Build-ID: 98b30e735bda24bc04ab42594c85f7fd8be07b9c
CPU-Threads: 4; BS: Windows 10.0; UI-Render: GL; VCL: win
Comment 6 QA Administrators 2022-01-31 03:29:50 UTC Comment hidden (obsolete)
Comment 7 sdc.blanco 2022-02-02 15:00:08 UTC
worksforme

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 5c138ac6a8334825ef171ac6291b66b277eb4288
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: en-US (da_DK); UI: en-US
Calc: CL
Comment 8 Buovjaga 2022-02-02 16:15:28 UTC
Yep, I can no longer repro, so let's close

Arch Linux 64-bit
Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: bff5d1a68a8b6f5776c5edb4ef0f919af1194d03
CPU threads: 8; OS: Linux 5.16; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded Jumbo
Built on 2 February 2022
Comment 9 Thomas Lendo 2022-02-03 15:49:44 UTC
Thanks all, it's fixed as long as the cursor isn't out of the view.

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 52443996eff721e612ac4afc1eb1a53bb8a3e06f
CPU threads: 12; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win