Bug 141437 - EDITING: transposed form objects (like circle or line) have wrong dimensions
Summary: EDITING: transposed form objects (like circle or line) have wrong dimensions
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: All All
: medium normal
Assignee: Regina Henschel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paste-Special
  Show dependency treegraph
 
Reported: 2021-04-01 20:04 UTC by Roland Kurmann
Modified: 2023-05-08 11:58 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
transpose_circle_object.ods (7.43 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-04-01 20:06 UTC, Roland Kurmann
Details
transpose_line_object.ods (7.69 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-04-02 05:47 UTC, Roland Kurmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Kurmann 2021-04-01 20:04:59 UTC
Description:
Form objects have different size/dimensions than the original form object.

Steps to Reproduce:
1. Open attached sheet "transpose_circle_object.ods".
2. Select cells A1 to A3.
3. Copy cells
4. Go to cell A5
5. Menu Edit > Paste Special > Paste Special
6. Click on the Transpose button in the Paste Special dialog.

Actual Results:
The circle changed the shape to an ellipse.
It is in correct cell B5.

Expected Results:
The circle object keeps the shape of a circle.
It is in correct cell B5.


Reproducible: Always


User Profile Reset: No



Additional Info:
I've discovered this bug while fixing and testing bug 107348.

Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 4; OS: Linux 5.3; UI render: GL; VCL: kf5
Locale: de-CH (en_US.UTF-8); UI: de-DE
Calc: threaded

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: 4f7bc49bce261f1cf206d25f0299fd080a9f5d28
CPU threads: 4; OS: Linux 5.3; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Roland Kurmann 2021-04-01 20:06:41 UTC
Created attachment 170906 [details]
transpose_circle_object.ods
Comment 2 Roland Kurmann 2021-04-02 05:47:58 UTC
Created attachment 170911 [details]
transpose_line_object.ods

The transposed line object gets too long when doing similar steps to reproduce using attachment transpose_line_object.ods. It stretches from A5 to C5 when pasted (transposed) to A5.

When copied normal (i.e. not transposed), the form objects do not change shape.
Comment 3 Regina Henschel 2021-04-07 21:33:42 UTC
It happens too, if the shape object is anchored to cell and it happens even if the shape is size protected. There is a similar bug 139083 for copy&paste to a cell of different size. Here the cells have the same size. Therefore I do not set it to duplicate.
Comment 4 Regina Henschel 2023-05-05 14:07:10 UTC
I'm working in that area for bug 139083, see https://gerrit.libreoffice.org/c/core/+/150161
The patch contains a larger change in the way objects which are included in a cell range are pasted. It should fix this problem here too.
Comment 5 BogdanB 2023-05-08 05:35:10 UTC
Regina, you can mark this bug as Resolved also here.
Round circle remains the same shape.

Verified in
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 4f93995f2262cde0b16bacc83f4ba3c6161ada7f
CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

Bad in
Version: 7.5.3.2 (X86_64) / LibreOffice Community
Build ID: 9f56dff12ba03b9acd7730a5a481eea045e468f3
CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 6 BogdanB 2023-05-08 11:58:35 UTC
Verified in
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 4f93995f2262cde0b16bacc83f4ba3c6161ada7f
CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded