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
Created attachment 170906 [details] transpose_circle_object.ods
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.
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.
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.
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
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