Bug 133064 - EDITING DOCX imported shape with textbox can be pulled apart
Summary: EDITING DOCX imported shape with textbox can be pulled apart
Status: RESOLVED DUPLICATE of bug 130802
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: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx, implementationError
Depends on:
Blocks: DOCX-Textbox
  Show dependency treegraph
 
Reported: 2020-05-15 12:22 UTC by NISZ LibreOffice Team
Modified: 2020-06-10 11:57 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Word (22.38 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-05-15 12:22 UTC, NISZ LibreOffice Team
Details
Screenshot of the document in Word and Writer after pulling the shape downwards. (72.64 KB, image/png)
2020-05-15 12:23 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-05-15 12:22:50 UTC
Created attachment 160853 [details]
Example file from Word

Attached user-made document contains a text box shape with some text in it.
It is imported correctly, but clicking on it and trying to move it around makes the shape and its text box pull apart, with the shape moving and the text frame staying  in place, and in subsequent move attempts loosely following it at the same distance.

Steps to reproduce:
    1. Open attached document.
    2. Click on the top right shape and try to move it below the text paragraphs.

Actual results:
The shape is moved, but the text frame stays in place.

Expected results:
The shape is moved with its text frame.

LibreOffice details:
Version: 7.0.0.0.alpha1+ (x64)
Build ID: 1ed7607454d1492f65c78443cb661d5873face6b
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win; 
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL

Also happens back to 4.4. In 4.3 the shape was imported as frame, not shape, and it worked fine.

Bibisected using bibisect-win32-4.4 to: 
$ git bisect bad 6f08f0920385b5c4262f5891d317ba31a5137ef7 is the first bad commit
commit 6f08f0920385b5c4262f5891d317ba31a5137ef7
Author: buildslave <buildslave@tb51.libreoffice.org>
Date:   Wed May 4 16:06:50 2016 +0200

    source-hash-e62764108a1832e746f68768c29eaa90606903a7

    commit e62764108a1832e746f68768c29eaa90606903a7
    Author:     Caolán McNamara <caolanm@redhat.com>
    AuthorDate: Fri Jun 20 20:59:48 2014 +0100
    Commit:     Caolán McNamara <caolanm@redhat.com>
    CommitDate: Fri Jun 20 21:00:15 2014 +0100

        hmm, that's not right

        Change-Id: Id714a54b08127c594c108c824bb0dedd74bb5c06

:100644 100644 de6937d3b10b84ffab8c38b3a007e3dbddfa59b0 eeb6b0f37cbde900456555060039bee6d12e3f3d M  autogen.log
:100644 100644 58db84f9a39cbd08c0de7a28b0c0c97428a30e22 f6a3b186afe5cb2e09e3c9db0182f419e4a70c6e M  commitmsg
:040000 040000 6e7e2d1afd0861a10854e482d8d74d3a7ce06ba4 efceaa06d7a6e48351c5bb6323759fab04b52c2c M  instdir
:100644 100644 c976c0cb714f6f5c29a4e3532d9a491c15d724e3 e1ea8ca83e3e7232aef1157ba982fbe165d5a2d3 M  make.log


URL: https://cgit.freedesktop.org/libreoffice/core/commit/?id=e62764108a1832e746f68768c29eaa90606903a7

Although this seems to be fishy. Previous commit is e1386e32a85eb5c6b4294a8ca3e4461b92707fc3 so the range between these is:

https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=e1386e32a85eb5c6b4294a8ca3e4461b92707fc3..e62764108a1832e746f68768c29eaa90606903a7
Comment 1 NISZ LibreOffice Team 2020-05-15 12:23:12 UTC
Created attachment 160854 [details]
Screenshot of the document in Word and Writer after pulling the shape downwards.
Comment 2 m_a_riosv 2020-05-15 13:14:36 UTC
Confirmed
Version: 7.0.0.0.alpha1+ (x64)
Build ID: 30356cdb3581bc9e9118ef3dd2f3162d9256c3b6
CPU threads: 4; OS: Windows 10.0 Build 19608; UI render: Skia/Raster; VCL: win; 
Locale: es-ES (es_ES); UI: en-US Calc: CL

What I see is that showed is showed out of place, but they are one object, not a text box and a shape.
Comment 3 Attila Bakos (NISZ) 2020-06-10 11:57:50 UTC

*** This bug has been marked as a duplicate of bug 130802 ***