Bug 135044 - EDITING Shape with textbox copied with Ctrl+dragging creates incorrectly placed textbox
Summary: EDITING Shape with textbox copied with Ctrl+dragging creates incorrectly plac...
Status: UNCONFIRMED
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: QA:needsComment
Keywords: implementationError
Depends on:
Blocks: Shape-Textbox
  Show dependency treegraph
 
Reported: 2020-07-22 12:45 UTC by NISZ LibreOffice Team
Modified: 2020-08-06 04:18 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Writer with shape+textbox (9.54 KB, application/vnd.oasis.opendocument.text)
2020-07-22 12:45 UTC, NISZ LibreOffice Team
Details
Screenshot of the problem in Writer after creating a new shape with Ctrl+dragging (31.32 KB, image/png)
2020-07-22 12:46 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-22 12:45:14 UTC
Created attachment 163404 [details]
Example file from Writer with shape+textbox

Attached document contains a simple shape with textbox.
When the shape is copied with Ctrl+dragging the textbox of the new shape has an incorrectly placed textbox: it has the horizontal position of the original shape, and the vertical position of the new.

Steps to reproduce:
    1. Open attached file
    2. Select the shape by clicking 
    3. Press Ctrl and drag the shape to make a new copy of it

Actual results:
The new shape has its textbox positioned below the original shape, and not inside. Moving the new shape a bit however corrects the textbox position.

Expected results:
New shape has its textbox inside after Ctrl+dragging.

LibreOffice details:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: b1c83b68bfbf3477fa6a8f4c79c53f6f9ab31f8e
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
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

Before that there was no textbox support for shapes.
Comment 1 NISZ LibreOffice Team 2020-07-22 12:46:15 UTC
Created attachment 163405 [details]
Screenshot of the problem in Writer after creating a new shape with Ctrl+dragging