Bug Hunting Session
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: NEW
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: 2019-10-12 20:01 UTC (History)
3 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