Bug 135198 - EDITING Moving large shape upwards makes its textbox fall out of it
Summary: EDITING Moving large shape upwards makes its textbox fall out of it
Status: ASSIGNED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: All All
: medium normal
Assignee: Dániel Arató (NISZ)
URL:
Whiteboard:
Keywords: filter:docx, implementationError
Depends on:
Blocks: Shape-Textbox
  Show dependency treegraph
 
Reported: 2020-07-27 13:28 UTC by NISZ LibreOffice Team
Modified: 2020-10-19 11:59 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Word with large shape+textbox (17.02 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-07-27 13:28 UTC, NISZ LibreOffice Team
Details
Screenshot of the document in Writer after opening (50.83 KB, image/png)
2020-07-27 13:28 UTC, NISZ LibreOffice Team
Details
Screenshot of the document in Writer after moving the shape up (52.50 KB, image/png)
2020-07-27 13:29 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2020-07-27 13:28:39 UTC
Created attachment 163631 [details]
Example file from Word with large shape+textbox

Attached anonimized user made document contains a large shape with textbox and lots of text. It’s also anchored to a paragraph in the middle of the page.
When this is opened in Writer and the shape is moved upwards, the textbox falls out of the shape when it gets close to the top of the page.

Steps to reproduce:
    1. Open attached document
    2. Move the shape (with mouse or keyboardtowards the top of the page

Actual results:
Textbox falls out of the shape. Note, this does not happen when the shape is moved towards the bottom of the page, but something similar happens when it is moved towards the left/right edge: the shape moves outside the page boundaries, but the textbox does not, unlike at the bottom of the page where they move correctly together.

Expected results:
Textbox stays inside the shape.

LibreOffice details:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: <buildversion>
CPU szálak: 4; OS: Windows 6.3 Build 9600; Felületmegjelenítés: alapértelmezett; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: CL

Also happens in:
Verzió: 6.0.0.3
Build az.: 64a0f66915f38c6217de274f0aa8e15618924765
CPU szálak: 4; OS: Windows 6.3; Felületmegjelenítés: alapértelmezett; 
Területi beállítások: hu-HU (hu_HU); Calc: CL

Version: 5.0.0.5
Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b
Locale: hu-HU (hu_HU)

Version: 4.4.0.3
Build ID: de093506bcdc5fafd9023ee680b8c60e3e0645d7
Locale: hu_HU

It was imported as frame in: 
Version: 4.3.0.4
Build ID: 62ad5818884a2fc2e5780dd45466868d41009ec0
Comment 1 NISZ LibreOffice Team 2020-07-27 13:28:59 UTC
Created attachment 163632 [details]
Screenshot of the document in Writer after opening
Comment 2 NISZ LibreOffice Team 2020-07-27 13:29:26 UTC
Created attachment 163633 [details]
Screenshot of the document in Writer after moving the shape up
Comment 3 Dániel Arató (NISZ) 2020-10-07 12:16:15 UTC
A little hint that might help: reproduce the bug as stated in the original description, then hit Undo once and Redo once.

1. Open attached document
2. Move the shape (with mouse or keyboardtowards the top of the page
3. Undo the last change
4. Redo the last change

The bug will occur after step 2 but _not_ after step 4!